diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-03-22 04:12:58 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-03-22 04:12:58 +0000 |
commit | 13858b70550fa882935e8cc4fc80c0473f1f27e9 (patch) | |
tree | a1618b008991c879136d078fd33ec86fee064e86 /lib/libpthread/man/putc_unlocked.3 | |
parent | c8023ea4519e4b5c82837349f7840308a918d1e8 (diff) |
new documentation
Diffstat (limited to 'lib/libpthread/man/putc_unlocked.3')
-rw-r--r-- | lib/libpthread/man/putc_unlocked.3 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/lib/libpthread/man/putc_unlocked.3 b/lib/libpthread/man/putc_unlocked.3 new file mode 100644 index 00000000000..a2c538952d7 --- /dev/null +++ b/lib/libpthread/man/putc_unlocked.3 @@ -0,0 +1,47 @@ +.\" $OpenBSD: putc_unlocked.3,v 1.1 1999/03/22 04:12:57 d Exp $ +.\" David Leonard <d@openbsd.org>, 1998. Public domain. +.Dd March 20, 1999 +.Os +.Dt PUTC_UNLOCKED 3 +.Sh NAME +.Nm putc_unlocked , +.Nm putchar_unlocked +.Nd put next character from stream, efficiently +.Sh SYNOPSIS +.Fd #include <stdio.h> +.Ft int +.Fn putc_unlocked "int c" "FILE *stream" +.Ft int +.Fn putchar_unlocked "int c" +.Sh DESCRIPTION +The +.Fn putc_unlocked +and +.Fn putchar_unlocked +functions are equivalent to their locked counterparts, +.Xr putc 3 +and +.Xr putchar 3 . +However, +.Fn putc_unlocked +and +.Fn putchar_unlocked +assume that the relevant stream has either been previous locked +with +.Xr flockfile 3 , +or that it will not be accessed by any other thread. +.Sh RETURN VALUES +The return values are as described for +.Xr putc 3 +and +.Xr putchar 3 . +.Sh SEE ALSO +.Xr putc 3 , +.Xr putchar 3 +.Sh STANDARDS +.Fn putc_unlocked +and +.Fn putchar_unlocked +conform to ISO/IEC 9945-1 ANSI/IEEE +.Pq Dq Tn POSIX +Std 1003.1 Second Edition 1996-07-12. |