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

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

PUTC_UNLOCKED(3)

Contents


NAME    [Toc]    [Back]

     putc_unlocked, putchar_unlocked - put  next  character  from
stream, efficiently

SYNOPSIS    [Toc]    [Back]

     #include <stdio.h>

     int
     putc_unlocked(int c, FILE *stream);

     int
     putchar_unlocked(int c);

DESCRIPTION    [Toc]    [Back]

     The  putc_unlocked()  and  putchar_unlocked()  functions are
equivalent to
     their locked counterparts, putc(3) and putchar(3).  However,
     putc_unlocked() and putchar_unlocked() assume that the relevant stream
     has either been previous 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  putc(3)  and
putchar(3).

SEE ALSO    [Toc]    [Back]

      
      
     putc(3), putchar(3)

STANDARDS    [Toc]    [Back]

     putc_unlocked() and putchar_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
getc_unlocked OpenBSD get next character from stream, efficiently
getchar_unlocked OpenBSD get 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