summaryrefslogtreecommitdiffstats
path: root/man3/_Generic.3
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 /man3/_Generic.3
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 'man3/_Generic.3')
-rw-r--r--man3/_Generic.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/_Generic.3 b/man3/_Generic.3
index ef1e2a6..b9bb026 100644
--- a/man3/_Generic.3
+++ b/man3/_Generic.3
@@ -2,7 +2,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH _Generic 3 2023-05-03 "Linux man-pages 6.05.01"
+.TH _Generic 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
_Generic \- type-generic selection
.SH SYNOPSIS
@@ -18,10 +18,10 @@ that is compatible with the type of the controlling
or
.B default:
if no type is compatible.
-.PP
+.P
.I expression
is not evaluated.
-.PP
+.P
This is especially useful for writing type-generic macros,
that will behave differently depending on the type of the argument.
.SH STANDARDS
@@ -44,7 +44,7 @@ seamlessly upgrading to the widest available type.
#define my_imaxabs _Generic(INTMAX_C(0), \e
long: labs, \e
long long: llabs \e
- /* long long long: lllabs */ \e
+/* long long long: lllabs */ \e
)
\&
int