summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-31 20:03:49 +0000
committerache <ache@FreeBSD.org>2001-08-31 20:03:49 +0000
commit13118a14e00cbfe620334639cb39bc5711f008b1 (patch)
tree979fe2f88531d0d3c9938d00dd630a2d74284337 /lib
parent42361f56f72b6a33feb2a9128d6580f6a4f0e6dc (diff)
downloadFreeBSD-src-13118a14e00cbfe620334639cb39bc5711f008b1.zip
FreeBSD-src-13118a14e00cbfe620334639cb39bc5711f008b1.tar.gz
Describe that we disallow ungetc at offset 0 now.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/ungetc.35
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 ,
OpenPOWER on IntegriCloud