diff options
author | mpp <mpp@FreeBSD.org> | 1996-05-23 01:05:25 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-05-23 01:05:25 +0000 |
commit | ba6f97d58c95b3d1f96b5fd78025f24c36025134 (patch) | |
tree | 20c0191307a05862d54f0d7211d2ee3ad63fa87a /lib/libc/stdio | |
parent | 509f02d4a3034d089f3b708293f367e91cdc784b (diff) | |
download | FreeBSD-src-ba6f97d58c95b3d1f96b5fd78025f24c36025134.zip FreeBSD-src-ba6f97d58c95b3d1f96b5fd78025f24c36025134.tar.gz |
Fixed various problems: typos, grammer, missing include files
wrong function type declarations, and wrong argument type
declarations.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/fread.3 | 4 | ||||
-rw-r--r-- | lib/libc/stdio/stdio.3 | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/stdio/fread.3 b/lib/libc/stdio/fread.3 index 03a9141..c3e591a 100644 --- a/lib/libc/stdio/fread.3 +++ b/lib/libc/stdio/fread.3 @@ -44,9 +44,9 @@ .Nd binary stream input/output .Sh SYNOPSIS .Fd #include <stdio.h> -.Ft int +.Ft size_t .Fn fread "void *ptr" "size_t size" "size_t nmemb" "FILE *stream" -.Ft int +.Ft size_t .Fn fwrite "const void *ptr" "size_t size" "size_t nmemb" "FILE *stream" .Sh DESCRIPTION The function diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3 index 7ebc782..3bde13c 100644 --- a/lib/libc/stdio/stdio.3 +++ b/lib/libc/stdio/stdio.3 @@ -63,7 +63,7 @@ If a file can support positioning requests (such as a disk file, as opposed to a terminal) then a .Em file position indicator associated with the stream is positioned at the start of the file (byte -zero), unless the file is opened with appended mode. If append mode +zero), unless the file is opened with append mode. If append mode is used, the position indicator will be placed the end-of-file. The position indicator is maintained by subsequent reads, writes and positioning requests. All input occurs as if the characters @@ -111,7 +111,7 @@ opened explicitly: (for reading conventional input), .It .Em standard output -(for writing conventional input), and +(for writing conventional output), and .It .Em standard error (for writing diagnostic output). @@ -229,7 +229,7 @@ feof check and reset stream status ferror check and reset stream status fflush flush a stream fgetc get next character or word from input stream -fgetline get a line from a stream +fgetln get a line from a stream fgetpos reposition a stream fgets get a line from a stream fileno check and reset stream status |