Saturday, October 24, 2009

C Library Functions

C Library Functions

The following is a list of standard C library functions, grouped roughly by functionality:

  • Standard C I/O
  • Standard C String & Character
  • Standard C Math
  • Standard C Date & Time
  • Standard C Memory
  • Other standard C functions

Alternatively, there is a list of all standard C library functions.

The functions above are defined in the following 18 header files:

When including header files for the standard C libraries, it is preferable to use the cfile notation instead of the file.h notation. For example, the stdio.h header file should be included using this command:

  #include 

The file.h notation works, but it is mainly meant for backwards compatibility. The difference between the cfile and file.h notation is that functions included via the file.h notation will appear in the global namespace instead of the std namespace.

No comments:

Post a Comment

Popular Posts