summaryrefslogtreecommitdiffstats
path: root/man3const/EOF.3const
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-24 04:52:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-24 04:52:22 +0000
commit3d08cd331c1adcf0d917392f7e527b3f00511748 (patch)
tree312f0d1e1632f48862f044b8bb87e602dcffb5f9 /man3const/EOF.3const
parentAdding debian version 6.7-2. (diff)
downloadmanpages-3d08cd331c1adcf0d917392f7e527b3f00511748.tar.xz
manpages-3d08cd331c1adcf0d917392f7e527b3f00511748.zip
Merging upstream version 6.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3const/EOF.3const')
-rw-r--r--man3const/EOF.3const42
1 files changed, 0 insertions, 42 deletions
diff --git a/man3const/EOF.3const b/man3const/EOF.3const
deleted file mode 100644
index 5b961a4..0000000
--- a/man3const/EOF.3const
+++ /dev/null
@@ -1,42 +0,0 @@
-.\" Copyright (c) 2022 by Alejandro Colomar <alx@kernel.org>
-.\"
-.\" SPDX-License-Identifier: Linux-man-pages-copyleft
-.\"
-.\"
-.TH EOF 3const 2023-10-31 "Linux man-pages 6.7"
-.SH NAME
-EOF \- end of file or error indicator
-.SH LIBRARY
-Standard C library
-.RI ( libc )
-.SH SYNOPSIS
-.nf
-.B #include <stdio.h>
-.P
-.BR "#define EOF " "/* ... */"
-.fi
-.SH DESCRIPTION
-.B EOF
-represents the end of an input file, or an error indication.
-It is a negative value, of type
-.IR int .
-.P
-.B EOF
-is not a character
-(it can't be represented by
-.IR "unsigned char" ).
-It is instead a sentinel value outside of the valid range for valid characters.
-.SH CONFORMING TO
-C99 and later;
-POSIX.1-2001 and later.
-.SH CAVEATS
-Programs can't pass this value to an output function
-to "write" the end of a file.
-That would likely result in undefined behavior.
-Instead,
-closing the writing stream or file descriptor
-that refers to such file
-is the way to signal the end of that file.
-.SH SEE ALSO
-.BR feof (3),
-.BR fgetc (3)