table of Contents
What is the standard C library functions
In addition to standard C language conventions of grammar specification of C, but also provides a number of features common interfaces, such as input, output, mathematical, and file operations. Them together is the standard C library functions.
We have used printf, scanf and so on from the standard library functions.
We need to include the specific header file, you can use a particular library functions (for example, printf, scanf statement came from in stdio.h).
For starters, several issues often face:
- What standard library functions
- To use a standard library functions, which needs to include the header file
- In the end how to use the library functions
Because the C standard library functions C standard to follow, so regardless of platform, regardless of which operating system, as long as the standard C compiler, then the use of the standard library functions are common.
Under Windows, the most authoritative and handy reference is MSDN; under Linux, the most authoritative information is convenient manual page.
MSDN under Windows
MSDN has an online site, there are off-line version (older version), the offline version is generally through the index to find the corresponding function to use the function.
Manual Page under Linux
In Linux, by Ctrl + Alt + T to open the console, then by
man 3 C库函数名
C library functions to access to relevant information.