NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | STANDARDS | ATTRIBUTES | SEE ALSO
#include <stdio.h>int getc_unlocked(FILE * stream);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
The getc_unlocked() , getchar_unlocked() , putc_unlocked() and putchar_unlocked() are functionally identical to getc() , getchar() , putc() and putchar() functions with the exception that they are not re-entrant.
getc_unlocked() , getchar_unlocked() , and putchar_unlocked() routines are implemented as macros.
They may only safely be used within a scope protected by flockfile() (or ftrylockfile() ) and funlockedfile() .
These routines conform to the POSIX.1c standards.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | STANDARDS | ATTRIBUTES | SEE ALSO