diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2012-04-12 08:26:39 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2012-04-12 08:26:39 +0000 |
commit | 027171c03bec751b38f4a293c3af6b3124e0d172 (patch) | |
tree | 750f093c1d82e0dc2525a0c46e7aa83351b856e1 /lib | |
parent | 077aa17a2a97163f004fa5c302ed9cd3beca27ce (diff) |
document getdelim() and getline(), and a grammar fix whilst here;
from Jan Stary
ok fgsch
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdio/stdio.3 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3 index e1dccb6ee7b..381dc7fe5af 100644 --- a/lib/libc/stdio/stdio.3 +++ b/lib/libc/stdio/stdio.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: stdio.3,v 1.22 2011/09/03 23:24:51 jmc Exp $ +.\" $OpenBSD: stdio.3,v 1.23 2012/04/12 08:26:38 jmc Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 3 2011 $ +.Dd $Mdocdate: April 12 2012 $ .Dt STDIO 3 .Os .Sh NAME @@ -94,8 +94,8 @@ does not flush files. Neither does an exit due to a signal. Buffers are flushed by -.Xr abort 3 -as required by POSIX, although previous implementations did not. +.Xr abort 3 , +as required by POSIX, although in previous implementations they were not. .Pp This implementation needs and makes no distinction between @@ -237,6 +237,8 @@ definitions are explicitly removed. .It fwrite Ta "binary stream input/output" .It getc Ta "get next character or word from input stream" .It getchar Ta "get next character or word from input stream" +.It getdelim Ta "read a delimited record from a stream" +.It getline Ta "read a delimited record from a stream" .It gets Ta "get a line from a stream" .It getw Ta "get next character or word from input stream" .It mkstemp Ta "create unique temporary file" |