diff options
author | ache <ache@FreeBSD.org> | 2001-09-01 14:01:52 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-09-01 14:01:52 +0000 |
commit | 162eb9fa4efd5e7804938d0afb33828aa58d2484 (patch) | |
tree | fde0a8a73759025f9d9cccea12bfbe057f4a2aea | |
parent | 87850137765d49a874252b2d1a70bc66c472067f (diff) | |
download | FreeBSD-src-162eb9fa4efd5e7804938d0afb33828aa58d2484.zip FreeBSD-src-162eb9fa4efd5e7804938d0afb33828aa58d2484.tar.gz |
Describe file-position behaviour from POSIX
-rw-r--r-- | lib/libc/stdio/ungetc.3 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/stdio/ungetc.3 b/lib/libc/stdio/ungetc.3 index 83483be..054213c 100644 --- a/lib/libc/stdio/ungetc.3 +++ b/lib/libc/stdio/ungetc.3 @@ -73,6 +73,11 @@ an effectively infinite amount of pushback is allowed. .Pp If a character is successfully pushed-back, the end-of-file indicator for the stream is cleared. +The file-position indicator is decremented +by each successful call to +.Fn ungetc ; +if its value was 0 before a call, its value is unspecified after +the call. .Sh RETURN VALUES The .Fn ungetc |