*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> getc_unlocked (3)              
Title
Content
Arch
Section
 

GETC_UNLOCKED(3)

Contents


NAME    [Toc]    [Back]

     getc_unlocked, getchar_unlocked - get  next  character  from
stream, efficiently

SYNOPSIS    [Toc]    [Back]

     #include <stdio.h>

     int
     getc_unlocked(FILE *stream);

     int
     getchar_unlocked();

DESCRIPTION    [Toc]    [Back]

     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.

RETURN VALUES    [Toc]    [Back]

     The   return   values  are  as  described  for  getc(3)  and
getchar(3).

SEE ALSO    [Toc]    [Back]

      
      
     getc(3), getchar(3)

STANDARDS    [Toc]    [Back]

     getc_unlocked() and getchar_unlocked()  conform  to  ISO/IEC
9945-1 ANSI/IEEE
 (``POSIX'') Std 1003.1 Second Edition 1996-07-12.

OpenBSD      3.6                          March      20,     1999
[ Back ]
 Similar pages
Name OS Title
putchar_unlocked OpenBSD put next character from stream, efficiently
putc_unlocked OpenBSD put next character from stream, efficiently
putwc IRIX put wchar_t character on a stream
getwc IRIX get wchar_t character or word from a stream
ungetc OpenBSD un-get character from input stream
putc IRIX put character or word on a stream
ungetc FreeBSD un-get character from input stream
ungetc NetBSD un-get character from input stream
getc IRIX get character or word from a stream
getchar_unlocked NetBSD get next character or word from input stream
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service