summaryrefslogtreecommitdiffstats
path: root/man3const
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:41:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:41:07 +0000
commit3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 (patch)
tree3ee7a3ec64525911fa865bb984c86d997d855527 /man3const
parentAdding debian version 6.05.01-1. (diff)
downloadmanpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.tar.xz
manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.zip
Merging upstream version 6.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3const')
-rw-r--r--man3const/EOF.3const6
-rw-r--r--man3const/EXIT_SUCCESS.3const4
-rw-r--r--man3const/NULL.3const12
3 files changed, 11 insertions, 11 deletions
diff --git a/man3const/EOF.3const b/man3const/EOF.3const
index ae64401..5b961a4 100644
--- a/man3const/EOF.3const
+++ b/man3const/EOF.3const
@@ -3,7 +3,7 @@
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\"
-.TH EOF 3const 2023-02-05 "Linux man-pages 6.05.01"
+.TH EOF 3const 2023-10-31 "Linux man-pages 6.7"
.SH NAME
EOF \- end of file or error indicator
.SH LIBRARY
@@ -12,7 +12,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <stdio.h>
-.PP
+.P
.BR "#define EOF " "/* ... */"
.fi
.SH DESCRIPTION
@@ -20,7 +20,7 @@ Standard C library
represents the end of an input file, or an error indication.
It is a negative value, of type
.IR int .
-.PP
+.P
.B EOF
is not a character
(it can't be represented by
diff --git a/man3const/EXIT_SUCCESS.3const b/man3const/EXIT_SUCCESS.3const
index b9e4c9a..515305f 100644
--- a/man3const/EXIT_SUCCESS.3const
+++ b/man3const/EXIT_SUCCESS.3const
@@ -3,7 +3,7 @@
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\"
-.TH EXIT_SUCCESS 3const 2023-05-03 "Linux man-pages 6.05.01"
+.TH EXIT_SUCCESS 3const 2023-10-31 "Linux man-pages 6.7"
.SH NAME
EXIT_SUCCESS, EXIT_FAILURE \- termination status constants
.SH LIBRARY
@@ -12,7 +12,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <stdlib.h>
-.PP
+.P
.BR "#define EXIT_SUCCESS " 0
.BR "#define EXIT_FAILURE " "/* nonzero */"
.fi
diff --git a/man3const/NULL.3const b/man3const/NULL.3const
index e043c1e..c88bbe0 100644
--- a/man3const/NULL.3const
+++ b/man3const/NULL.3const
@@ -3,7 +3,7 @@
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\"
-.TH NULL 3const 2023-02-05 "Linux man-pages 6.05.01"
+.TH NULL 3const 2023-10-31 "Linux man-pages 6.7"
.SH NAME
NULL \- null pointer constant
.SH LIBRARY
@@ -12,7 +12,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <stddef.h>
-.PP
+.P
.B "#define NULL ((void *) 0)"
.fi
.SH DESCRIPTION
@@ -36,12 +36,12 @@ and
.SH CAVEATS
It is undefined behavior to dereference a null pointer,
and that usually causes a segmentation fault in practice.
-.PP
+.P
It is also undefined behavior to perform pointer arithmetic on it.
-.PP
+.P
.I NULL \- NULL
is undefined behavior, according to ISO C, but is defined to be 0 in C++.
-.PP
+.P
To avoid confusing human readers of the code,
do not compare pointer variables to
.BR 0 ,
@@ -50,7 +50,7 @@ and do not assign
to them.
Instead, always use
.BR NULL .
-.PP
+.P
.B NULL
shouldn't be confused with
.BR NUL ,