aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man/man2')
-rw-r--r--man/man2/add_key.25
-rw-r--r--man/man2/alloc_hugepages.23
-rw-r--r--man/man2/cacheflush.23
-rw-r--r--man/man2/epoll_wait.29
-rw-r--r--man/man2/getdents.23
-rw-r--r--man/man2/getgroups.24
-rw-r--r--man/man2/getrandom.23
-rw-r--r--man/man2/getsockopt.210
-rw-r--r--man/man2/getunwind.23
-rw-r--r--man/man2/getxattr.215
-rw-r--r--man/man2/init_module.23
-rw-r--r--man/man2/lookup_dcookie.23
-rw-r--r--man/man2/madvise.23
-rw-r--r--man/man2/mbind.25
-rw-r--r--man/man2/mincore.23
-rw-r--r--man/man2/mlock.29
-rw-r--r--man/man2/mmap.26
-rw-r--r--man/man2/modify_ldt.23
-rw-r--r--man/man2/move_pages.24
-rw-r--r--man/man2/mprotect.26
-rw-r--r--man/man2/mremap.23
-rw-r--r--man/man2/msgop.28
-rw-r--r--man/man2/msync.23
-rw-r--r--man/man2/outb.218
-rw-r--r--man/man2/perfmonctl.23
-rw-r--r--man/man2/pread.26
-rw-r--r--man/man2/process_madvise.23
-rw-r--r--man/man2/query_module.25
-rw-r--r--man/man2/read.23
-rw-r--r--man/man2/readlink.210
-rw-r--r--man/man2/recv.26
-rw-r--r--man/man2/remap_file_pages.23
-rw-r--r--man/man2/s390_pci_mmio_write.211
-rw-r--r--man/man2/send.26
-rw-r--r--man/man2/setxattr.215
-rw-r--r--man/man2/write.23
36 files changed, 132 insertions, 77 deletions
diff --git a/man/man2/add_key.2 b/man/man2/add_key.2
index a4515efc51..448d503731 100644
--- a/man/man2/add_key.2
+++ b/man/man2/add_key.2
@@ -14,8 +14,9 @@ Standard C library
.nf
.B #include <keyutils.h>
.P
-.BI "key_serial_t add_key(const char *" type ", const char *" description ,
-.BI " const void " payload [. size "], size_t " size ,
+.BI "key_serial_t add_key(size_t " size ;
+.BI " const char *" type ", const char *" description ,
+.BI " const void " payload [ size "], size_t " size ,
.BI " key_serial_t " keyring ");"
.fi
.P
diff --git a/man/man2/alloc_hugepages.2 b/man/man2/alloc_hugepages.2
index ab8aed8014..d9f1a496f7 100644
--- a/man/man2/alloc_hugepages.2
+++ b/man/man2/alloc_hugepages.2
@@ -7,7 +7,8 @@
alloc_hugepages, free_hugepages \- allocate or free huge pages
.SH SYNOPSIS
.nf
-.BI "void *syscall(SYS_alloc_hugepages, int " key ", void " addr [. size "], \
+.BI "void *syscall(size_t " size ;
+.BI " SYS_alloc_hugepages, int " key ", void " addr [ size "], \
size_t " size ,
.BI " int " prot ", int " flag );
.\" asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr,
diff --git a/man/man2/cacheflush.2 b/man/man2/cacheflush.2
index f9fb21c319..1a472d3cc1 100644
--- a/man/man2/cacheflush.2
+++ b/man/man2/cacheflush.2
@@ -13,7 +13,8 @@ Standard C library
.nf
.B #include <sys/cachectl.h>
.P
-.BI "int cacheflush(void " addr [. nbytes "], int "nbytes ", int "cache );
+.BI "int cacheflush(int " nbytes;
+.BI " void " addr [ nbytes "], int "nbytes ", int "cache );
.fi
.P
.IR Note :
diff --git a/man/man2/epoll_wait.2 b/man/man2/epoll_wait.2
index 26a2e886f7..b6971d1ee2 100644
--- a/man/man2/epoll_wait.2
+++ b/man/man2/epoll_wait.2
@@ -17,12 +17,15 @@ Standard C library
.nf
.B #include <sys/epoll.h>
.P
-.BI "int epoll_wait(int " epfd ", struct epoll_event " events [. maxevents ],
+.BI "int epoll_wait(int " maxevents ;
+.BI " int " epfd ", struct epoll_event " events [ maxevents ],
.BI " int " maxevents ", int " timeout );
-.BI "int epoll_pwait(int " epfd ", struct epoll_event " events [. maxevents ],
+.BI "int epoll_pwait(int " maxevents ;
+.BI " int " epfd ", struct epoll_event " events [ maxevents ],
.BI " int " maxevents ", int " timeout ,
.BI " const sigset_t *_Nullable " sigmask );
-.BI "int epoll_pwait2(int " epfd ", struct epoll_event " events [. maxevents ],
+.BI "int epoll_pwait2(int " maxevents ;
+.BI " int " epfd ", struct epoll_event " events [ maxevents ],
.BI " int " maxevents ", \
const struct timespec *_Nullable " timeout ,
.BI " const sigset_t *_Nullable " sigmask );
diff --git a/man/man2/getdents.2 b/man/man2/getdents.2
index 2950a15457..012bc68959 100644
--- a/man/man2/getdents.2
+++ b/man/man2/getdents.2
@@ -26,7 +26,8 @@ Standard C library
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <dirent.h>
.P
-.BI "ssize_t getdents64(int " fd ", void " dirp [. count "], size_t " count );
+.BI "ssize_t getdents64(size_t " count ;
+.BI " int " fd ", void " dirp [ count "], size_t " count );
.fi
.P
.IR Note :
diff --git a/man/man2/getgroups.2 b/man/man2/getgroups.2
index 9c9e2c819c..52c267770d 100644
--- a/man/man2/getgroups.2
+++ b/man/man2/getgroups.2
@@ -19,11 +19,11 @@ Standard C library
.nf
.B #include <unistd.h>
.P
-.BI "int getgroups(int " size ", gid_t " list "[_Nullable ." size ]);
+.BI "int getgroups(int " size ", gid_t " list "[_Nullable " size ]);
.P
.B #include <grp.h>
.P
-.BI "int setgroups(size_t " size ", const gid_t " list "[_Nullable ." size ]);
+.BI "int setgroups(size_t " size ", const gid_t " list "[_Nullable " size ]);
.fi
.P
.RS -4
diff --git a/man/man2/getrandom.2 b/man/man2/getrandom.2
index 094093b1ae..d995d8fcde 100644
--- a/man/man2/getrandom.2
+++ b/man/man2/getrandom.2
@@ -14,7 +14,8 @@ Standard C library
.nf
.B #include <sys/random.h>
.P
-.BI "ssize_t getrandom(void " buf [. buflen "], size_t " buflen ", \
+.BI "ssize_t getrandom(size_t " buflen ;
+.BI " void " buf [ buflen "], size_t " buflen ", \
unsigned int " flags );
.fi
.SH DESCRIPTION
diff --git a/man/man2/getsockopt.2 b/man/man2/getsockopt.2
index 018f35d5d5..93b9178161 100644
--- a/man/man2/getsockopt.2
+++ b/man/man2/getsockopt.2
@@ -23,11 +23,13 @@ Standard C library
.nf
.B #include <sys/socket.h>
.P
-.BI "int getsockopt(int " sockfd ", int " level ", int " optname ,
-.BI " void " optval "[_Nullable restrict *." optlen ],
+.BI "int getsockopt(socklen *restrict " optlen ;
+.BI " int " sockfd ", int " level ", int " optname ,
+.BI " void " optval "[_Nullable restrict *" optlen ],
.BI " socklen_t *restrict " optlen );
-.BI "int setsockopt(int " sockfd ", int " level ", int " optname ,
-.BI " const void " optval [. optlen ],
+.BI "int setsockopt(socklen_t " optlen ;
+.BI " int " sockfd ", int " level ", int " optname ,
+.BI " const void " optval [ optlen ],
.BI " socklen_t " optlen );
.fi
.SH DESCRIPTION
diff --git a/man/man2/getunwind.2 b/man/man2/getunwind.2
index 10ad89ec8d..3ca3796d47 100644
--- a/man/man2/getunwind.2
+++ b/man/man2/getunwind.2
@@ -16,7 +16,8 @@ Standard C library
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.P
-.BI "[[deprecated]] long syscall(SYS_getunwind, void " buf [. buf_size ],
+.BI "[[deprecated]] long syscall(size_t " buf_size ;
+.BI " SYS_getunwind, void " buf [ buf_size ],
.BI " size_t " buf_size );
.fi
.SH DESCRIPTION
diff --git a/man/man2/getxattr.2 b/man/man2/getxattr.2
index f6f8c996bf..fd04ae3572 100644
--- a/man/man2/getxattr.2
+++ b/man/man2/getxattr.2
@@ -13,12 +13,15 @@ Standard C library
.nf
.B #include <sys/xattr.h>
.P
-.BI "ssize_t getxattr(const char *" path ", const char *" name ,
-.BI " void " value [. size "], size_t " size );
-.BI "ssize_t lgetxattr(const char *" path ", const char *" name ,
-.BI " void " value [. size "], size_t " size );
-.BI "ssize_t fgetxattr(int " fd ", const char *" name ,
-.BI " void " value [. size "], size_t " size );
+.BI "ssize_t getxattr(size_t " size ;
+.BI " const char *" path ", const char *" name ,
+.BI " void " value [ size "], size_t " size );
+.BI "ssize_t lgetxattr(size_t " size ;
+.BI " const char *" path ", const char *" name ,
+.BI " void " value [ size "], size_t " size );
+.BI "ssize_t fgetxattr(size_t " size ;
+.BI " int " fd ", const char *" name ,
+.BI " void " value [ size "], size_t " size );
.fi
.SH DESCRIPTION
Extended attributes are
diff --git a/man/man2/init_module.2 b/man/man2/init_module.2
index 5aed13e2cc..896a8c0333 100644
--- a/man/man2/init_module.2
+++ b/man/man2/init_module.2
@@ -16,7 +16,8 @@ Standard C library
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.P
-.BI "int syscall(SYS_init_module, void " module_image [. size "], \
+.BI "int syscall(unsigned long " size ;
+.BI " SYS_init_module, void " module_image [ size "], \
unsigned long " size ,
.BI " const char *" param_values );
.BI "int syscall(SYS_finit_module, int " fd ,
diff --git a/man/man2/lookup_dcookie.2 b/man/man2/lookup_dcookie.2
index ca57fa7cdf..f6fc1a718a 100644
--- a/man/man2/lookup_dcookie.2
+++ b/man/man2/lookup_dcookie.2
@@ -15,7 +15,8 @@ Standard C library
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.P
-.BI "int syscall(SYS_lookup_dcookie, uint64_t " cookie ", char " buffer [. size ],
+.BI "int syscall(size_t " size ;
+.BI " SYS_lookup_dcookie, uint64_t " cookie ", char " buffer [ size ],
.BI " size_t " size );
.fi
.P
diff --git a/man/man2/madvise.2 b/man/man2/madvise.2
index c9b4722db2..bd2b90b7ad 100644
--- a/man/man2/madvise.2
+++ b/man/man2/madvise.2
@@ -22,7 +22,8 @@ Standard C library
.nf
.B #include <sys/mman.h>
.P
-.BI "int madvise(void " addr [. size "], size_t " size ", int " advice );
+.BI "int madvise(size_t " size ;
+.BI " void " addr [ size "], size_t " size ", int " advice );
.fi
.P
.RS -4
diff --git a/man/man2/mbind.2 b/man/man2/mbind.2
index 55a03a7880..3d93a806ad 100644
--- a/man/man2/mbind.2
+++ b/man/man2/mbind.2
@@ -25,8 +25,9 @@ NUMA (Non-Uniform Memory Access) policy library
.nf
.B "#include <numaif.h>"
.P
-.BI "long mbind(void " addr [. size "], unsigned long " size ", int " mode ,
-.BI " const unsigned long " nodemask [(. maxnode " + ULONG_WIDTH - 1)"
+.BI "long mbind(unsigned long " size ", unsigned long " maxnode ;
+.BI " void " addr [ size "], unsigned long " size ", int " mode ,
+.BI " const unsigned long " nodemask [( maxnode " + ULONG_WIDTH - 1)"
.B " / ULONG_WIDTH],"
.BI " unsigned long " maxnode ", unsigned int " flags );
.fi
diff --git a/man/man2/mincore.2 b/man/man2/mincore.2
index 583dc69512..ac16f952e5 100644
--- a/man/man2/mincore.2
+++ b/man/man2/mincore.2
@@ -21,7 +21,8 @@ Standard C library
.nf
.B #include <sys/mman.h>
.P
-.BI "int mincore(void " addr [. length "], size_t " length ", unsigned char *" vec );
+.BI "int mincore(size_t " length ;
+.BI " void " addr [ length "], size_t " length ", unsigned char *" vec );
.fi
.P
.RS -4
diff --git a/man/man2/mlock.2 b/man/man2/mlock.2
index 6431a079c0..5c2fb7ec37 100644
--- a/man/man2/mlock.2
+++ b/man/man2/mlock.2
@@ -14,10 +14,13 @@ Standard C library
.nf
.B #include <sys/mman.h>
.P
-.BI "int mlock(const void " addr [. size "], size_t " size );
-.BI "int mlock2(const void " addr [. size "], size_t " size ", \
+.BI "int mlock(size_t " size ;
+.BI " const void " addr [ size "], size_t " size );
+.BI "int mlock2(size_t " size ;
+.BI " const void " addr [ size "], size_t " size ", \
unsigned int " flags );
-.BI "int munlock(const void " addr [. size "], size_t " size );
+.BI "int munlock(size_t " size ;
+.BI " const void " addr [ size "], size_t " size );
.P
.BI "int mlockall(int " flags );
.B int munlockall(void);
diff --git a/man/man2/mmap.2 b/man/man2/mmap.2
index f07d917fe3..816bbfbacd 100644
--- a/man/man2/mmap.2
+++ b/man/man2/mmap.2
@@ -28,10 +28,12 @@ Standard C library
.nf
.B #include <sys/mman.h>
.P
-.BI "void *mmap(void " addr [. length "], size_t " length \
+.BI "void *mmap(size_t " length ;
+.BI " void " addr [ length "], size_t " length \
", int " prot ", int " flags ,
.BI " int " fd ", off_t " offset );
-.BI "int munmap(void " addr [. length "], size_t " length );
+.BI "int munmap(size_t " length ;
+.BI " void " addr [ length "], size_t " length );
.fi
.P
See VERSIONS for information on feature test macro requirements.
diff --git a/man/man2/modify_ldt.2 b/man/man2/modify_ldt.2
index 9788ecf887..4205c36cb3 100644
--- a/man/man2/modify_ldt.2
+++ b/man/man2/modify_ldt.2
@@ -15,7 +15,8 @@ Standard C library
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.P
-.BI "int syscall(SYS_modify_ldt, int " func ", void " ptr [. bytecount ],
+.BI "int syscall(unsigned long " bytecount ;
+.BI " SYS_modify_ldt, int " func ", void " ptr [ bytecount ],
.BI " unsigned long " bytecount );
.fi
.P
diff --git a/man/man2/move_pages.2 b/man/man2/move_pages.2
index a871c1f246..3c0b4ccc10 100644
--- a/man/man2/move_pages.2
+++ b/man/man2/move_pages.2
@@ -19,8 +19,8 @@ NUMA (Non-Uniform Memory Access) policy library
.B #include <numaif.h>
.P
.BI "long move_pages(int " pid ", unsigned long " count ", \
-void *" pages [. count ],
-.BI " const int " nodes [. count "], int " status [. count "], \
+void *" pages [ count ],
+.BI " const int " nodes [ count "], int " status [ count "], \
int " flags );
.fi
.SH DESCRIPTION
diff --git a/man/man2/mprotect.2 b/man/man2/mprotect.2
index 5a216be87d..8367308634 100644
--- a/man/man2/mprotect.2
+++ b/man/man2/mprotect.2
@@ -20,12 +20,14 @@ Standard C library
.nf
.B #include <sys/mman.h>
.P
-.BI "int mprotect(void " addr [. size "], size_t " size ", int " prot );
+.BI "int mprotect(size_t " size ;
+.BI " void " addr [ size "], size_t " size ", int " prot );
.P
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <sys/mman.h>
.P
-.BI "int pkey_mprotect(void " addr [. size "], size_t " size ", int " prot ", int " pkey ");"
+.BI "int pkey_mprotect(size_t " size ;
+.BI " void " addr [ size "], size_t " size ", int " prot ", int " pkey ");"
.fi
.SH DESCRIPTION
.BR mprotect ()
diff --git a/man/man2/mremap.2 b/man/man2/mremap.2
index 62bf17b76f..f2f0c7c190 100644
--- a/man/man2/mremap.2
+++ b/man/man2/mremap.2
@@ -19,7 +19,8 @@ Standard C library
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <sys/mman.h>
.P
-.BI "void *mremap(void " old_address [. old_size "], size_t " old_size ,
+.BI "void *mremap(size_t " old_size ;
+.BI " void " old_address [ old_size "], size_t " old_size ,
.BI " size_t " new_size ", int " flags ", ... /* void *" new_address " */);"
.fi
.SH DESCRIPTION
diff --git a/man/man2/msgop.2 b/man/man2/msgop.2
index af323af698..6a3e1f64b6 100644
--- a/man/man2/msgop.2
+++ b/man/man2/msgop.2
@@ -27,11 +27,13 @@ Standard C library
.nf
.B #include <sys/msg.h>
.P
-.BI "int msgsnd(int " msqid ", const void " msgp [. msgsz "], size_t " msgsz ,
+.BI "ssize_t msgrcv(size_t " msgsz ;
+.BI " int " msqid ", void " msgp [ msgsz "], size_t " msgsz \
+", long " msgtyp ,
.BI " int " msgflg );
.P
-.BI "ssize_t msgrcv(int " msqid ", void " msgp [. msgsz "], size_t " msgsz \
-", long " msgtyp ,
+.BI "int msgsnd(size_t " msgsz ;
+.BI " int " msqid ", const void " msgp [ msgsz "], size_t " msgsz ,
.BI " int " msgflg );
.fi
.SH DESCRIPTION
diff --git a/man/man2/msync.2 b/man/man2/msync.2
index 0a17dba47e..88b9c329eb 100644
--- a/man/man2/msync.2
+++ b/man/man2/msync.2
@@ -12,7 +12,8 @@ Standard C library
.nf
.B #include <sys/mman.h>
.P
-.BI "int msync(void " addr [. length "], size_t " length ", int " flags );
+.BI "int msync(size_t " length ;
+.BI " void " addr [ length "], size_t " length ", int " flags );
.fi
.SH DESCRIPTION
.BR msync ()
diff --git a/man/man2/outb.2 b/man/man2/outb.2
index 26d6c9f934..3f1c6c216e 100644
--- a/man/man2/outb.2
+++ b/man/man2/outb.2
@@ -30,17 +30,23 @@ Standard C library
.BI "void outl(unsigned int " value ", unsigned short " port );
.BI "void outl_p(unsigned int " value ", unsigned short " port );
.P
-.BI "void insb(unsigned short " port ", void " addr [. count ],
+.BI "void insb(unsigned long " count ;
+.BI " unsigned short " port ", void " addr [ count ],
.BI " unsigned long " count );
-.BI "void insw(unsigned short " port ", void " addr [. count ],
+.BI "void insw(unsigned long " count ;
+.BI " unsigned short " port ", void " addr [ count ],
.BI " unsigned long " count );
-.BI "void insl(unsigned short " port ", void " addr [. count ],
+.BI "void insl(unsigned long " count ;
+.BI " unsigned short " port ", void " addr [ count ],
.BI " unsigned long " count );
-.BI "void outsb(unsigned short " port ", const void " addr [. count ],
+.BI "void outsb(unsigned long " count ;
+.BI " unsigned short " port ", const void " addr [ count ],
.BI " unsigned long " count );
-.BI "void outsw(unsigned short " port ", const void " addr [. count ],
+.BI "void outsw(unsigned long " count ;
+.BI " unsigned short " port ", const void " addr [ count ],
.BI " unsigned long " count );
-.BI "void outsl(unsigned short " port ", const void " addr [. count ],
+.BI "void outsl(unsigned long " count ;
+.BI " unsigned short " port ", const void " addr [ count ],
.BI " unsigned long " count );
.fi
.SH DESCRIPTION
diff --git a/man/man2/perfmonctl.2 b/man/man2/perfmonctl.2
index d4bf56b9a9..82ed2e933a 100644
--- a/man/man2/perfmonctl.2
+++ b/man/man2/perfmonctl.2
@@ -12,7 +12,8 @@ perfmonctl \- interface to IA-64 performance monitoring unit
.B #include <syscall.h>
.B #include <perfmon.h>
.P
-.BI "long perfmonctl(int " fd ", int " cmd ", void " arg [. narg "], int " narg ");"
+.BI "long perfmonctl(int " narg ;
+.BI " int " fd ", int " cmd ", void " arg [ narg "], int " narg );
.fi
.P
.IR Note :
diff --git a/man/man2/pread.2 b/man/man2/pread.2
index d016d5f7b7..fd1809fbde 100644
--- a/man/man2/pread.2
+++ b/man/man2/pread.2
@@ -12,9 +12,11 @@ Standard C library
.nf
.B #include <unistd.h>
.P
-.BI "ssize_t pread(int " fd ", void " buf [. count "], size_t " count ,
+.BI "ssize_t pread(size_t " count ;
+.BI " int " fd ", void " buf [ count "], size_t " count ,
.BI " off_t " offset );
-.BI "ssize_t pwrite(int " fd ", const void " buf [. count "], size_t " count ,
+.BI "ssize_t pwrite(size_t " count ;
+.BI " int " fd ", const void " buf [ count "], size_t " count ,
.BI " off_t " offset );
.fi
.P
diff --git a/man/man2/process_madvise.2 b/man/man2/process_madvise.2
index f76296a8a2..48e5a8cf90 100644
--- a/man/man2/process_madvise.2
+++ b/man/man2/process_madvise.2
@@ -15,7 +15,8 @@ Standard C library
.nf
.B #include <sys/mman.h>
.P
-.BI "ssize_t process_madvise(int " pidfd ", const struct iovec " iovec [. n ],
+.BI "ssize_t process_madvise(size_t " n ;
+.BI " int " pidfd ", const struct iovec " iovec [ n ],
.BI " size_t " n ", int " advice \
", unsigned int " flags );
.fi
diff --git a/man/man2/query_module.2 b/man/man2/query_module.2
index 60746df56b..79c3816efa 100644
--- a/man/man2/query_module.2
+++ b/man/man2/query_module.2
@@ -12,8 +12,9 @@ query_module \- query the kernel for various bits pertaining to modules
.nf
.B #include <linux/module.h>
.P
-.BI "[[deprecated]] int query_module(const char *" name ", int " which ,
-.BI " void " buf [. bufsize "], \
+.BI "[[deprecated]] int query_module(size_t " bufsize ;
+.BI " const char *" name ", int " which ,
+.BI " void " buf [ bufsize "], \
size_t " bufsize ,
.BI " size_t *" ret );
.fi
diff --git a/man/man2/read.2 b/man/man2/read.2
index 1c58f8601c..1a190fdcd4 100644
--- a/man/man2/read.2
+++ b/man/man2/read.2
@@ -23,7 +23,8 @@ Standard C library
.nf
.B #include <unistd.h>
.P
-.BI "ssize_t read(int " fd ", void " buf [. count "], size_t " count );
+.BI "ssize_t read(size_t " count ;
+.BI " int " fd ", void " buf [ count "], size_t " count );
.fi
.SH DESCRIPTION
.BR read ()
diff --git a/man/man2/readlink.2 b/man/man2/readlink.2
index 418a1820a7..44671cf3ca 100644
--- a/man/man2/readlink.2
+++ b/man/man2/readlink.2
@@ -23,14 +23,16 @@ Standard C library
.nf
.B #include <unistd.h>
.P
-.BI "ssize_t readlink(const char *restrict " pathname ,
-.BI " char " buf "[restrict ." bufsiz "], size_t " bufsiz );
+.BI "ssize_t readlink(size_t " bufsiz ;
+.BI " const char *restrict " pathname ,
+.BI " char " buf "[restrict " bufsiz "], size_t " bufsiz );
.P
.BR "#include <fcntl.h> " "/* Definition of " AT_* " constants */"
.B #include <unistd.h>
.P
-.BI "ssize_t readlinkat(int " dirfd ", const char *restrict " pathname ,
-.BI " char " buf "[restrict ." bufsiz "], size_t " bufsiz );
+.BI "ssize_t readlinkat(size_t " bufsiz ;
+.BI " int " dirfd ", const char *restrict " pathname ,
+.BI " char " buf "[restrict " bufsiz "], size_t " bufsiz );
.P
.fi
.RS -4
diff --git a/man/man2/recv.2 b/man/man2/recv.2
index 727e89864d..31635b0d7f 100644
--- a/man/man2/recv.2
+++ b/man/man2/recv.2
@@ -20,9 +20,11 @@ Standard C library
.nf
.B #include <sys/socket.h>
.P
-.BI "ssize_t recv(int " sockfd ", void " buf [. size "], size_t " size ,
+.BI "ssize_t recv(size_t " size ;
+.BI " int " sockfd ", void " buf [ size "], size_t " size ,
.BI " int " flags );
-.BI "ssize_t recvfrom(int " sockfd ", void " buf "[restrict ." size "], size_t " size ,
+.BI "ssize_t recvfrom(size_t " size ;
+.BI " int " sockfd ", void " buf "[restrict " size "], size_t " size ,
.BI " int " flags ,
.BI " struct sockaddr *_Nullable restrict " src_addr ,
.BI " socklen_t *_Nullable restrict " addrlen );
diff --git a/man/man2/remap_file_pages.2 b/man/man2/remap_file_pages.2
index b7606855eb..c1edb3e53c 100644
--- a/man/man2/remap_file_pages.2
+++ b/man/man2/remap_file_pages.2
@@ -16,7 +16,8 @@ Standard C library
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <sys/mman.h>
.P
-.BI "[[deprecated]] int remap_file_pages(void " addr [. size "], size_t " size ,
+.BI "[[deprecated]] int remap_file_pages(size_t " size ;
+.BI " void " addr [ size "], size_t " size ,
.BI " int " prot ", size_t " pgoff ", \
int " flags );
.fi
diff --git a/man/man2/s390_pci_mmio_write.2 b/man/man2/s390_pci_mmio_write.2
index 57c1eec42d..fa3da565f6 100644
--- a/man/man2/s390_pci_mmio_write.2
+++ b/man/man2/s390_pci_mmio_write.2
@@ -15,11 +15,12 @@ Standard C library
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.P
-.BI "int syscall(SYS_s390_pci_mmio_write, unsigned long " mmio_addr ,
-.BI " const void " user_buffer [. length "], \
-size_t " length );
-.BI "int syscall(SYS_s390_pci_mmio_read, unsigned long " mmio_addr ,
-.BI " void " user_buffer [. length "], size_t " length );
+.BI "int syscall(size_t " length ;
+.BI " SYS_s390_pci_mmio_write, unsigned long " mmio_addr ,
+.BI " const void " user_buffer [ length "], size_t " length );
+.BI "int syscall(size_t " length ;
+.BI " SYS_s390_pci_mmio_read, unsigned long " mmio_addr ,
+.BI " void " user_buffer [ length "], size_t " length );
.fi
.P
.IR Note :
diff --git a/man/man2/send.2 b/man/man2/send.2
index 82aae39230..371205ad88 100644
--- a/man/man2/send.2
+++ b/man/man2/send.2
@@ -19,9 +19,11 @@ Standard C library
.nf
.B #include <sys/socket.h>
.P
-.BI "ssize_t send(int " sockfd ", const void " buf [. size "], size_t " size \
+.BI "ssize_t send(size_t " size ;
+.BI " int " sockfd ", const void " buf [ size "], size_t " size \
", int " flags );
-.BI "ssize_t sendto(int " sockfd ", const void " buf [. size "], size_t " size \
+.BI "ssize_t sendto(size_t " size ;
+.BI " int " sockfd ", const void " buf [ size "], size_t " size \
", int " flags ,
.BI " const struct sockaddr *" dest_addr ", socklen_t " addrlen );
.BI "ssize_t sendmsg(int " sockfd ", const struct msghdr *" msg \
diff --git a/man/man2/setxattr.2 b/man/man2/setxattr.2
index 9e7322f23f..9b7ce2cb72 100644
--- a/man/man2/setxattr.2
+++ b/man/man2/setxattr.2
@@ -13,12 +13,15 @@ Standard C library
.nf
.B #include <sys/xattr.h>
.P
-.BI "int setxattr(const char *" path ", const char *" name ,
-.BI " const void " value [. size "], size_t " size ", int " flags );
-.BI "int lsetxattr(const char *" path ", const char *" name ,
-.BI " const void " value [. size "], size_t " size ", int " flags );
-.BI "int fsetxattr(int " fd ", const char *" name ,
-.BI " const void " value [. size "], size_t " size ", int " flags );
+.BI "int setxattr(size_t " size ;
+.BI " const char *" path ", const char *" name ,
+.BI " const void " value [ size "], size_t " size ", int " flags );
+.BI "int lsetxattr(size_t " size ;
+.BI " const char *" path ", const char *" name ,
+.BI " const void " value [ size "], size_t " size ", int " flags );
+.BI "int fsetxattr(size_t " size ;
+.BI " int " fd ", const char *" name ,
+.BI " const void " value [ size "], size_t " size ", int " flags );
.fi
.SH DESCRIPTION
Extended attributes are
diff --git a/man/man2/write.2 b/man/man2/write.2
index cd0677cc92..2134ff32aa 100644
--- a/man/man2/write.2
+++ b/man/man2/write.2
@@ -26,7 +26,8 @@ Standard C library
.nf
.B #include <unistd.h>
.P
-.BI "ssize_t write(int " fd ", const void " buf [. count "], size_t " count );
+.BI "ssize_t write(size_t " count ;
+.BI " int " fd ", const void " buf [ count "], size_t " count );
.fi
.SH DESCRIPTION
.BR write ()