In Unix-based operating systems, manual pages, or man pages, serve as the comprehensive reference for system commands and programming interfaces, accessible via the man
command.
Specifically, Section 3 of the man pages, titled Library Calls, details the functions found in the system's standard libraries. These libraries provide a suite of functions that enable programs to execute operations beyond the kernel's direct capabilities, such as mathematical calculations and graphics processing. The man pages meticulously document the syntax, application, and expected behavior of each function, including potential return values and error messages.
Key functions highlighted in this section include:
printf
: Formats and outputs data.malloc
: Allocates memory dynamically.exit
: Ends the executing process.getenv
: Retrieves an environment variable.stat
: Acquires file status information.Name | Unix Section 3 Manual Page: Library Calls |
---|---|
File Extension(s) | .3 |
Category | Documents |
Use For | Library Calls; which documents the functions within program libraries. |
Developer | Dennis Ritchie and Ken Thompson under the guidance of their manager Doug McIlroy at AT&T Bell Laboratories in 1971 as part of the Unix Programmer's Manual. |
MIME Type(s) | application/x-troff-man |
License | freely; but check their source for the specific license. |
File Sample(s) | N/A |