diff options
| author | Alex Colomar <alx.manpages@gmail.com> | 2022-09-18 01:09:59 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2022-11-10 00:53:45 +0100 |
| commit | c64cd13e002561c6802c6a1a1a8a640f034fea70 (patch) | |
| tree | 6aa203e7d7d6a36fdd457994a78fc10c3b10d8ca /man2/init_module.2 | |
| parent | 77f31ff920bc0abdf73ee4ece808ba4eeeff90a4 (diff) | |
| download | man-pages-c64cd13e0025.tar.gz | |
Various pages: SYNOPSIS: Use VLA syntax in 'void *' function parameters
Use VLA syntax also for void *, even if it's a bit more weird.
Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2611.htm>
Cc: Ingo Schwarze <schwarze@openbsd.org>
Cc: JeanHeyd Meneide <wg14@soasis.org>
Cc: Martin Uecker <uecker@tugraz.at>
Cc: <gcc@gcc.gnu.org>
Signed-off-by: Alex Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man2/init_module.2')
| -rw-r--r-- | man2/init_module.2 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/man2/init_module.2 b/man2/init_module.2 index 8df668b0ca..0b43007011 100644 --- a/man2/init_module.2 +++ b/man2/init_module.2 @@ -16,10 +16,11 @@ Standard C library .BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */" .B #include <unistd.h> .PP -.BI "int syscall(SYS_init_module, void *" module_image ", unsigned long " len , +.BI "int syscall(SYS_init_module, void " module_image [. len "], \ +unsigned long " len , .BI " const char *" param_values ); -.BI "int syscall(SYS_finit_module, int " fd ", const char *" param_values , -.BI " int " flags ); +.BI "int syscall(SYS_finit_module, int " fd , +.BI " const char *" param_values ", int " flags ); .fi .PP .IR Note : |
