diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-12-13 14:19:28 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-12-13 23:51:12 +0100 |
| commit | a4a669ba33d51864b664d53db593f9f6c51ad610 (patch) | |
| tree | 1f67bb4e6b639f3c740205f418ec6312494ac30e /man/man3/makecontext.3 | |
| parent | e3f01c9fc23e4b827b8d45a108a8481bca2f02d2 (diff) | |
| download | man-pages-a4a669ba33d51864b664d53db593f9f6c51ad610.tar.gz | |
man/: SYNOPSIS: Use typeof() to improve readability of function pointer types
Suggested-by: Jorenar <dev@jorenar.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/makecontext.3')
| -rw-r--r-- | man/man3/makecontext.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man3/makecontext.3 b/man/man3/makecontext.3 index 24cf78d705..45009a7a6c 100644 --- a/man/man3/makecontext.3 +++ b/man/man3/makecontext.3 @@ -16,7 +16,7 @@ Standard C library .nf .B #include <ucontext.h> .P -.BI "void makecontext(ucontext_t *" ucp ", void (*" func ")(int " arg0 ", ...)," +.BI "void makecontext(ucontext_t *" ucp ", typeof(void (int " arg0 ", ...)) *" func , .BI " int " argc ", ...);" .BI "int swapcontext(ucontext_t *restrict " oucp , .BI " const ucontext_t *restrict " ucp ); |
