OSDN Git Service

LDP: Update original to LDP v3.78-git-80a7408
[linuxjm/LDP_man-pages.git] / original / man3 / fmemopen.3
index 3d9354a..3c59594 100644 (file)
@@ -93,14 +93,18 @@ bytes to the buffer result in an error.
 (By default, such errors will be visible only when the
 .I stdio
 buffer is flushed.
-Disabling buffering with
-.I setbuf(fp,\ NULL)
-may be useful to detect errors at the time of an output operation.
+Disabling buffering with the following call
+may be useful to detect errors at the time of an output operation:
+
+    setbuf(stdream, NULL);
+
 Alternatively, the caller can explicitly set
 .I buf
 as the stdio stream buffer, at the same time informing stdio
-of the buffer's size, using
-.IR "setbuffer(fp, buf, size)" .)
+of the buffer's size, using:
+
+    setbuffer(stream, buf, size);
+
 .\" See http://sourceware.org/bugzilla/show_bug.cgi?id=1995
 .\" and
 .\" http://sources.redhat.com/ml/libc-alpha/2006-04/msg00064.html
@@ -341,12 +345,3 @@ main(int argc, char *argv[])
 .SH SEE ALSO
 .BR fopen (3),
 .BR fopencookie (3)
-.SH COLOPHON
-This page is part of release 3.77 of the Linux
-.I man-pages
-project.
-A description of the project,
-information about reporting bugs,
-and the latest version of this page,
-can be found at
-\%http://www.kernel.org/doc/man\-pages/.