Main index | Section 3 | 日本語 | Deutsch | Options |
#include <stdio.h>
The getc() function acts essentially identically to fgetc(), but is a macro that expands in-line.
The getchar() function is equivalent to getc(stdin).
The getw() function obtains the next int (if present) from the stream pointed at by stream.
The getc_unlocked() and getchar_unlocked() functions are equivalent to getc() and getchar() respectively, except that the caller is responsible for locking the stream with flockfile(3) before calling them. These functions may be used to avoid the overhead of locking the stream for each character, and to avoid input being dispersed among multiple threads reading from the same stream.
GETC (3) | April 4, 2020 |
Main index | Section 3 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.