OSDN Git Service

(split) LDP: Restore and add Copyrights for draft pages
[linuxjm/LDP_man-pages.git] / draft / man3 / stdio_ext.3
index fb86eff..9372c8f 100644 (file)
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
+.\"
+.\" Japanese Version Copyright (c) 2002 Akihiro MOTOKI all rights reserved.
+.\" Translated Nov 2 2002 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"O .SH NAME
+.\"O __fbufsize, __flbf, __fpending, __fpurge, __freadable,
+.\"O __freading, __fsetlocking, __fwritable, __fwriting, _flushlbf \-
+.\"O interfaces to stdio FILE structure
+.\"O .SH SYNOPSIS
+.\"O .SH DESCRIPTION
+.\"O Solaris introduced routines to allow portable access to the
+.\"O internals of the
+.\"O .I FILE
+.\"O structure, and glibc also implemented these.
+.\"O The
+.\"O .BR __fbufsize ()
+.\"O function returns the size of the buffer currently used
+.\"O by the given stream.
+.\"O The
+.\"O .BR __fpending ()
+.\"O function returns the number of bytes in the output buffer.
+.\"O For wide-oriented streams the unit is wide characters.
+.\"O This function is undefined on buffers in reading mode,
+.\"O or opened read-only.
+.\"O The
+.\"O .BR __flbf ()
+.\"O function returns a nonzero value if the stream is line-buffered,
+.\"O and zero otherwise.
+.\"O The
+.\"O .BR __freadable ()
+.\"O function returns a nonzero value if the stream allows reading,
+.\"O and zero otherwise.
+.\"O The
+.\"O .BR __fwritable ()
+.\"O function returns a nonzero value if the stream allows writing,
+.\"O and zero otherwise.
+.\"O The
+.\"O .BR __freading ()
+.\"O function returns a nonzero value if the stream is read-only, or
+.\"O if the last operation on the stream was a read operation,
+.\"O and zero otherwise.
+.\"O The
+.\"O .BR __fwriting ()
+.\"O function returns a nonzero value if the stream is write-only (or
+.\"O append-only), or if the last operation on the stream was a write
+.\"O operation, and zero otherwise.
+.\"O The
+.\"O .BR __fsetlocking ()
+.\"O function can be used to select the desired type of locking on the stream.
+.\"O It returns the current type.
+.\"O The
+.\"O .I type
+.\"O argument can take the following three values:
+.\"O Perform implicit locking around every operation on the given stream
+.\"O (except for the *_unlocked ones).
+.\"O This is the default.
+.\"O The caller will take care of the locking (possibly using
+.\"O .BR flockfile (3)
+.\"O in case there is more than one thread), and the stdio routines
+.\"O will not do locking until the state is reset to
+.\"O .BR FSETLOCKING_INTERNAL .
+.\"O Don't change the type of locking.
+.\"O (Only return it.)
+.\"O The
+.\"O .BR _flushlbf ()
+.\"O function flushes all line-buffered streams.
+.\"O (Presumably so that
+.\"O output to a terminal is forced out, say before reading keyboard input.)
+.\"O The
+.\"O .BR __fpurge ()
+.\"O function discards the contents of the stream's buffer.
+.\"O .SH "SEE ALSO"
+.\"
 .TH STDIO_EXT 3 2013\-06\-21 "" "Linux Programmer's Manual"
 .SH 名前
 __fbufsize, __flbf, __fpending, __fpurge, __freadable, __freading,