aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/makecontext.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-12-13 13:02:06 +0100
committerAlejandro Colomar <alx@kernel.org>2024-12-13 13:29:59 +0100
commite3f01c9fc23e4b827b8d45a108a8481bca2f02d2 (patch)
tree9b10e6f30e54109c1ec590160dae81bdbe6bd965 /man/man3/makecontext.3
parent842a69c6a5946417a79f31b0871aceaa48398cf7 (diff)
downloadman-pages-e3f01c9fc23e4b827b8d45a108a8481bca2f02d2.tar.gz
man/man3/makecontext.3: SYNOPSIS: Add ellipsis to function type
The old syntax with empty parentheses has been removed from the language in C23. Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/makecontext.3')
-rw-r--r--man/man3/makecontext.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/makecontext.3 b/man/man3/makecontext.3
index c87c47d0eb..24cf78d705 100644
--- a/man/man3/makecontext.3
+++ b/man/man3/makecontext.3
@@ -16,10 +16,10 @@ Standard C library
.nf
.B #include <ucontext.h>
.P
-.BI "void makecontext(ucontext_t *" ucp ", void (*" func ")(), int " argc \
-", ...);"
+.BI "void makecontext(ucontext_t *" ucp ", void (*" func ")(int " arg0 ", ...),"
+.BI " int " argc ", ...);"
.BI "int swapcontext(ucontext_t *restrict " oucp ,
-.BI " const ucontext_t *restrict " ucp );
+.BI " const ucontext_t *restrict " ucp );
.fi
.SH DESCRIPTION
In a System V-like environment, one has the type