1.\" $OpenBSD: putc_unlocked.3,v 1.4 2013/06/05 03:44:50 tedu Exp $ 2.\" David Leonard <d@openbsd.org>, 1998. Public domain. 3.Dd $Mdocdate: June 5 2013 $ 4.Dt PUTC_UNLOCKED 3 5.Os 6.Sh NAME 7.Nm putc_unlocked , 8.Nm putchar_unlocked 9.Nd put next character from stream, efficiently 10.Sh SYNOPSIS 11.In stdio.h 12.Ft int 13.Fn putc_unlocked "int c" "FILE *stream" 14.Ft int 15.Fn putchar_unlocked "int c" 16.Sh DESCRIPTION 17The 18.Fn putc_unlocked 19and 20.Fn putchar_unlocked 21functions are equivalent to their locked counterparts, 22.Xr putc 3 23and 24.Xr putchar 3 . 25However, 26.Fn putc_unlocked 27and 28.Fn putchar_unlocked 29assume that the relevant stream has either been previous locked 30with 31.Xr flockfile 3 , 32or that it will not be accessed by any other thread. 33.Sh RETURN VALUES 34The return values are as described for 35.Xr putc 3 36and 37.Xr putchar 3 . 38.Sh SEE ALSO 39.Xr putc 3 , 40.Xr putchar 3 41.Sh STANDARDS 42.Fn putc_unlocked 43and 44.Fn putchar_unlocked 45conform to ISO/IEC 9945-1 ANSI/IEEE 46.Pq Dq Tn POSIX 47Std 1003.1 Second Edition 1996-07-12. 48