C Run-Time Library Reference
Go Up to C++ Reference
RAD Studio has several hundred functions, macros, and classes that you call from within your C and C++ programs to perform a wide variety of tasks, including low- and high-level I/O, string and file manipulation, memory allocation, process control, data conversion, mathematical calculations, and more.
This topic refers to Windows C/C++ RTL.
For OS X C/C++ RTL, see MacOS C RTL. For iOS C/C++ RTL, see iOS C RTL.
Note: In the online help, each function, macro, and class in the C Run-time Library is listed only once. However, some functions, macros, and classes are defined in more than one header file.
For example, _strerror is defined in both string.h and stdio.h. For functions that are defined in several header files, the online help assigns the function to the first header file in alphabetic order. Thus, you will find _strerror listed in the help in stdio.h but not in string.h.
Contents
Topics
- Secure C Library
- Default Run-time Libraries
- Static Run-time Libraries
- Dynamic-link Libraries
- Multithread Programs
- Passing File Information To Child Processes
- Format Specifiers in C/C++
Header Files
The following header files are located in $(BDS)\include\windows\crtl
.
Only the most commonly used header files are documented.
For information about standard headers, see the following external resources:
- ISO/IEC 9899:TC3 Programming languages — C (Chapter 7: Library)
- C Standard Library (utas.edu.au)
For information about Dinkumware headers, see:
- Dinkum C++ Library Reference in local help (with Dinkumware enabled in the Filtered by field)
- DINKUMWARE Ltd
You can also open any header file on your system and see the comments inside.
C
In parentheses are indicated the C++ headers:
- assert.h (cassert.h, cassert)
- ctype.h (cctype.h, cctype)
- errno.h (cerrno.h, cerrno)
- float.h (cfloat.h, cfloat)
- iso646.h (ciso646.h, ciso646)
- limits.h (climits.h, climits)
- math.h (cmath.h, cmath)
- setjmp.h (csetjmp.h, csetjmp)
- signal.h (csignal.h, csignal)
- stdint.h
- stdio.h (cstdio.h, cstdio)
- stdlib.h (cstdlib.h, cstdlib)
- string.h (cstring.h, cstring)
- stdarg.h (cstdarg.h, cstarg)
- time.h (ctime.h, ctime)
- wchar.h (cwchar.h)
- wctype.h (cwctype.h, cwctype)
C99
- complex.h
- stdbool.h
- systypes.h
C++
- bitset.h
- deque.h
- fstream.h
- function.h
- iomanip.h
- ios.h
- iosfwd.h
- iostream.h
- istream.h
- iterator.h
- locale.h
- new.h
- numeric.h
- memory.h
- ostream.h
- set.h
- stack.h
- stdexcept.h
- streambu.h
- strstrea.h
- valarray.h
- vector.h
- typeinfo.h
STL
- hash_map.h
- hash_set.h
- queue.h
- list.h
- rope.h
- slist.h
- utility.h
C++Builder
- alloc.h
- bcd.h
- checks.h
- comobjec.h
- conio.h
- strdbg.h
- delayimp.h
- dir.h
- direct.h
- dirent.h
- dos.h, cdos.h
- except.h
- fastmath.h
- fcntl.h
- io.h, cio.h
- jstring.h
- malloc.h
- mbctype.h
- mbstring.h
- mem.h
- process.h
- ref.h
- regexp.h
- search.h
- share.h
- stddef.h
- sys\locking.h
- sys\stat.h
- sys\timeb.h
- sys\types.h
- tchar.h
- uchar.h
- unmangle.h
- usebormm.h
- utime.h
- values.h
- varargs.h
- wildargs.h
Perl compatible regular expressions
- Warning: Perl-compatible regular expression headers are deprecated, and they are not available for all C++Builder compilers. Use regex from the C++ standard library instead.
- pcre.h
- pcreposi.h
- pcreposix.h