diff options
author | ache <ache@FreeBSD.org> | 2001-08-31 20:03:49 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-08-31 20:03:49 +0000 |
commit | 13118a14e00cbfe620334639cb39bc5711f008b1 (patch) | |
tree | 979fe2f88531d0d3c9938d00dd630a2d74284337 /lib/libc/stdio/ungetc.3 | |
parent | 42361f56f72b6a33feb2a9128d6580f6a4f0e6dc (diff) | |
download | FreeBSD-src-13118a14e00cbfe620334639cb39bc5711f008b1.zip FreeBSD-src-13118a14e00cbfe620334639cb39bc5711f008b1.tar.gz |
Describe that we disallow ungetc at offset 0 now.
Diffstat (limited to 'lib/libc/stdio/ungetc.3')
-rw-r--r-- | lib/libc/stdio/ungetc.3 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/stdio/ungetc.3 b/lib/libc/stdio/ungetc.3 index 83483be..6d657a8 100644 --- a/lib/libc/stdio/ungetc.3 +++ b/lib/libc/stdio/ungetc.3 @@ -83,7 +83,10 @@ if the operation fails. If the value of the argument .Fa c character equals -.Dv EOF , +.Dv EOF +or current +.Fa stream +offset equals 0, the operation will fail and the stream will remain unchanged. .Sh SEE ALSO .Xr fseek 3 , |