MirBSD manpage: putchar_unlocked(3), putc_unlocked(3)

PUTC_UNLOCKED(3)           BSD Programmer's Manual            PUTC_UNLOCKED(3)

NAME

     putc_unlocked, putchar_unlocked - put next character from stream, effi-
     ciently

SYNOPSIS

     #include <stdio.h>

     int
     putc_unlocked(int c, FILE *stream);

     int
     putchar_unlocked(int c);

DESCRIPTION

     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

     The return values are as described for putc(3) and putchar(3).

SEE ALSO

     putc(3), putchar(3)

STANDARDS

     putc_unlocked() and putchar_unlocked() conform to ISO/IEC 9945-1
     ANSI/IEEE ("POSIX") Std 1003.1 Second Edition 1996-07-12.

MirBSD #10-current              March 20, 1999                               1

Generated on 2022-12-24 01:00:14 by $MirOS: src/scripts/roff2htm,v 1.113 2022/12/21 23:14:31 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2022 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.

Kontakt / Impressum & Datenschutzerklärung