GETC_UNLOCKED(3) BSD Programmer's Manual GETC_UNLOCKED(3)
getc_unlocked, getchar_unlocked - get next character from stream, effi-
ciently
#include <stdio.h>
int
getc_unlocked(FILE *stream);
int
getchar_unlocked();
The getc_unlocked() and getchar_unlocked() functions are equivalent to
their locked counterparts, getc(3) and getchar(3). However,
getc_unlocked() and getchar_unlocked() assume that the relevant stream
has either been previously locked with flockfile(3), or that it will not
be accessed by any other thread.
The return values are as described for getc(3) and getchar(3).
getc(3), getchar(3)
getc_unlocked() and getchar_unlocked() conform to ISO/IEC 9945-1
ANSI/IEEE ("POSIX") Std 1003.1 Second Edition 1996-07-12.
MirOS BSD #10-current March 20, 1999 1
Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material
provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.