]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array parameters
authorAlejandro Colomar <alx@kernel.org>
Fri, 14 Mar 2025 17:33:41 +0000 (18:33 +0100)
committerAlejandro Colomar <alx@kernel.org>
Fri, 14 Mar 2025 17:55:19 +0000 (18:55 +0100)
This syntax has been proposed for standardization in N3433.

Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3433.pdf>
Cc: Christopher Bazley <chris.bazley.wg14@gmail.com>
Cc: Martin Uecker <uecker@tugraz.at>
Cc: Joseph Myers <josmyers@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
138 files changed:
man/man2/add_key.2
man/man2/alloc_hugepages.2
man/man2/cacheflush.2
man/man2/epoll_wait.2
man/man2/getdents.2
man/man2/getgroups.2
man/man2/getrandom.2
man/man2/getsockopt.2
man/man2/getunwind.2
man/man2/getxattr.2
man/man2/init_module.2
man/man2/lookup_dcookie.2
man/man2/madvise.2
man/man2/mbind.2
man/man2/mincore.2
man/man2/mlock.2
man/man2/mmap.2
man/man2/modify_ldt.2
man/man2/move_pages.2
man/man2/mprotect.2
man/man2/mremap.2
man/man2/msgop.2
man/man2/msync.2
man/man2/outb.2
man/man2/perfmonctl.2
man/man2/pread.2
man/man2/process_madvise.2
man/man2/query_module.2
man/man2/read.2
man/man2/readlink.2
man/man2/recv.2
man/man2/remap_file_pages.2
man/man2/s390_pci_mmio_write.2
man/man2/send.2
man/man2/setxattr.2
man/man2/write.2
man/man2const/KEYCTL_DESCRIBE.2const
man/man2const/KEYCTL_DH_COMPUTE.2const
man/man2const/KEYCTL_GET_SECURITY.2const
man/man2const/KEYCTL_INSTANTIATE.2const
man/man2const/KEYCTL_READ.2const
man/man2const/KEYCTL_UPDATE.2const
man/man2const/PR_GET_AUXV.2const
man/man3/arc4random.3
man/man3/backtrace.3
man/man3/bcmp.3
man/man3/bcopy.3
man/man3/bsearch.3
man/man3/bstring.3
man/man3/bzero.3
man/man3/cfree.3
man/man3/confstr.3
man/man3/des_crypt.3
man/man3/fgetc.3
man/man3/fgetws.3
man/man3/fmemopen.3
man/man3/fread.3
man/man3/getcwd.3
man/man3/getdirentries.3
man/man3/getentropy.3
man/man3/getgrent_r.3
man/man3/getgrnam.3
man/man3/gethostbyname.3
man/man3/getipnodebyname.3
man/man3/getlogin.3
man/man3/getmntent.3
man/man3/getnameinfo.3
man/man3/getnetent_r.3
man/man3/getprotoent_r.3
man/man3/getpwent_r.3
man/man3/getpwnam.3
man/man3/getrpcent_r.3
man/man3/getservent_r.3
man/man3/getspnam.3
man/man3/inet_net_pton.3
man/man3/inet_ntop.3
man/man3/lsearch.3
man/man3/mblen.3
man/man3/mbrlen.3
man/man3/mbrtowc.3
man/man3/mbsnrtowcs.3
man/man3/mbsrtowcs.3
man/man3/mbstowcs.3
man/man3/mbtowc.3
man/man3/memccpy.3
man/man3/memchr.3
man/man3/memcmp.3
man/man3/memcpy.3
man/man3/memfrob.3
man/man3/memmem.3
man/man3/memmove.3
man/man3/mempcpy.3
man/man3/memset.3
man/man3/mq_receive.3
man/man3/mq_send.3
man/man3/posix_madvise.3
man/man3/printf.3
man/man3/pthread_attr_setstack.3
man/man3/pthread_setname_np.3
man/man3/ptsname.3
man/man3/qsort.3
man/man3/random.3
man/man3/regex.3
man/man3/resolver.3
man/man3/rpc.3
man/man3/setaliasent.3
man/man3/setbuf.3
man/man3/setnetgrent.3
man/man3/stpncpy.3
man/man3/strcasecmp.3
man/man3/strcmp.3
man/man3/strdup.3
man/man3/strerror.3
man/man3/strfmon.3
man/man3/strfromd.3
man/man3/strftime.3
man/man3/strncat.3
man/man3/strnlen.3
man/man3/strxfrm.3
man/man3/swab.3
man/man3/ttyname.3
man/man3/unlocked_stdio.3
man/man3/wcpncpy.3
man/man3/wcscasecmp.3
man/man3/wcsncat.3
man/man3/wcsncmp.3
man/man3/wcsncpy.3
man/man3/wcsnlen.3
man/man3/wcsnrtombs.3
man/man3/wcsrtombs.3
man/man3/wcstombs.3
man/man3/wmemchr.3
man/man3/wmemcmp.3
man/man3/wmemcpy.3
man/man3/wmemmove.3
man/man3/wmemset.3
man/man3/wprintf.3
man/man7/string_copying.7

index a4515efc512caa416ee611672b29bb5c905ca218..448d503731c3851174c2ed4ed5f32be9d7a789b5 100644 (file)
@@ -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
index ab8aed8014e0a1938b6434121f7c8f9297e4324d..d9f1a496f747d56737c1f69bbed76a5459b05826 100644 (file)
@@ -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,
index f9fb21c31909f3946077780add2a732f010be4f1..1a472d3cc146cb5e67cdfd49dff46280055e9fdf 100644 (file)
@@ -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 :
index 26a2e886f716466de8a1a08f166cf86e5e9fb2e5..b6971d1ee2baefcb2657e74edccd7c768ad23e77 100644 (file)
@@ -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 );
index 2950a154575d384234910f18db831ba760b883f1..012bc6895982739cb24a73b0708b4d4493bc0d3d 100644 (file)
@@ -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 :
index 9c9e2c819cf1436a444371c995da6719ae797377..52c267770d09b37181a7f4a1c9835829f5f2dafa 100644 (file)
@@ -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
index 094093b1ae3f433a172bb38ef9708e29dd9f7e60..d995d8fcdedfd2445506f5f4f70986272be1277c 100644 (file)
@@ -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
index 018f35d5d5267b0acafb4bc0cae1d176af78c476..93b91781610674792a48c0d3c69f2a35e4e964f3 100644 (file)
@@ -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
index 10ad89ec8d1f3878d6e2074e71b6ce99cc700fe2..3ca3796d47c6b1ec6ec18f81993b3cfde127137a 100644 (file)
@@ -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
index f6f8c996bf5788a7fdd8c740477ec12c0e79a5ae..fd04ae3572120adb7cff3beea46223a601db334c 100644 (file)
@@ -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
index 5aed13e2ccae7e259ecb443f28da2f7a8faa48dd..896a8c0333a8a5e8ad3a82acc95586319ec5cb6c 100644 (file)
@@ -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 ,
index ca57fa7cdf5fce299a227e2bde67e3d394dc495b..f6fc1a718a25b9cd2f67a5347c343d250dba3803 100644 (file)
@@ -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
index c9b4722db20890a3459884de4531a184a72c99f2..bd2b90b7adcaad705b02c9753b31fa04bfeb4e0e 100644 (file)
@@ -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
index 55a03a78803d71683afb204643a636f72c7c2568..3d93a806ad808632464d743b784006d8788b1f98 100644 (file)
@@ -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
index 583dc6951236f676d77a7f19cafd9cdb2d94e308..ac16f952e575b919aa6ac8eb850e00179a0ce477 100644 (file)
@@ -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
index 6431a079c0520cf5c6b1de933e74a24afbbc0169..5c2fb7ec372cecee93abdcac08cf7be3bc83b6c0 100644 (file)
@@ -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);
index f07d917fe38fe7cec6f358e9c89e23176f471b18..816bbfbacdb19790aae1fbae548c73b44f27215c 100644 (file)
@@ -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.
index 9788ecf887d3fc7d2128bcc5386c178a6702c5ae..4205c36cb37a04f006cde3a17b071c367c6fb8c1 100644 (file)
@@ -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
index a871c1f24694262a38c6be9b401dbfa73f5b6eb0..3c0b4ccc10297349222347079992b5426a3d6fcf 100644 (file)
@@ -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
index 5a216be87d2356dead6656b4b4dbd1cb5a3d03fa..8367308634b608aa19b6700877fdd52abcf81e01 100644 (file)
@@ -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 ()
index 62bf17b76f945c40fa82e6090aed1b0ced8455f2..f2f0c7c190360f8fd7ba63e29fad4604deb02ec0 100644 (file)
@@ -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
index af323af698ec23b9c43aed89597b27cda9d8ff19..6a3e1f64b65a8eb62fc6161ad4fc6fe20e7a977f 100644 (file)
@@ -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
index 0a17dba47e3ef976f4d83acb46f851e8aa575b1d..88b9c329eb1322db498f9353b6d0ff31e2429545 100644 (file)
@@ -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 ()
index 26d6c9f934413bf6952f6cc5584078e15929d720..3f1c6c216e5f3962fb44107be06982d8574cfaa9 100644 (file)
@@ -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
index d4bf56b9a9c70823849208e6b9afd9bf4edb597b..82ed2e933a92fc55b34cd19acd29ff1718b5fdc0 100644 (file)
@@ -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 :
index d016d5f7b77e6af2ac8b34bd56c23b7d5a1048b8..fd1809fbde9ecc6ff18c8d6bff7b13e684a8b140 100644 (file)
@@ -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
index f76296a8a2d77727fb2b0bfeb2fd2dd019ad50c3..48e5a8cf90fa4aa4e490946f64af9a60a4ee9554 100644 (file)
@@ -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
index 60746df56b2375dfc6dc73b636f710c2da88106e..79c3816efaf4a3a07a5c73b3ac5fe88d8932904b 100644 (file)
@@ -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
index 1c58f8601cff0e282858b81994b183107e676f46..1a190fdcd4023d1db950846aa27f8c5f8ec0bca2 100644 (file)
@@ -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 ()
index 418a1820a74fac7ea21ae4bd82629d8e76f9b652..44671cf3ca49488d258a086c09b28b8b2959c033 100644 (file)
@@ -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
index 727e89864d0dac0a95d19a378dcc5682df60de36..31635b0d7f46ac2fe94f2baccc8e0d5c29d3d7a0 100644 (file)
@@ -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 );
index b7606855ebc11ed619435d4c842e629c23ed5755..c1edb3e53c11832e3cc1e3f26544b1d065b38b5d 100644 (file)
@@ -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
index 57c1eec42d5711e1a1e8458388c47b2ab8c52b19..fa3da565f6f7256262c9ae79d1c4da61ec5fceec 100644 (file)
@@ -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 :
index 82aae39230233ea4498bc56b20e185dc149815ec..371205ad8826c828ba304c34ffe8831a3e9213aa 100644 (file)
@@ -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 \
index 9e7322f23f1fc35ee09906247fd0662b6ef47c67..9b7ce2cb72887fe35648cc4bff8cc42cc6dc6387 100644 (file)
@@ -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
index cd0677cc924b1ad1933ba58fb400e9f1b410f495..2134ff32aad11bfb202e0088eaa05a3c2da5a513 100644 (file)
@@ -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 ()
index 621706d1cd2b2203a496aca6ec3b8d528d4926e0..f4e7f5d28614b275947d2080e9d5f1b639e32865 100644 (file)
@@ -20,8 +20,9 @@ Standard C library
 .BR "#include <sys/syscall.h>" "   /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .P
-.BI "long syscall(SYS_keyctl, KEYCTL_DESCRIBE, key_serial_t " key ,
-.BI "             char " desc "[_Nullable ." size "], size_t " size );
+.BI "long syscall(size_t " size ;
+.BI "             SYS_keyctl, KEYCTL_DESCRIBE, key_serial_t " key ,
+.BI "             char " desc "[_Nullable " size "], size_t " size );
 .fi
 .SH DESCRIPTION
 Obtain a string describing the attributes of a specified key.
index 0c01304fb1a161c5a303a0a606f0f7aa558cfdeb..d1d63f77bc7e1b89996def93d04023992061fcf8 100644 (file)
@@ -20,9 +20,10 @@ Standard C library
 .BR "#include <sys/syscall.h>" "   /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .P
-.B long syscall(SYS_keyctl, KEYCTL_DH_COMPUTE,
+.BI "long syscall(size_t " n ;
+.B "             SYS_keyctl, KEYCTL_DH_COMPUTE,"
 .BI "             struct keyctl_dh_params *" dh_params ,
-.BI "             char " buf [. n "], size_t " n ,
+.BI "             char " buf [ n "], size_t " n ,
 .BI "             struct keyctl_kdf_params *_Nullable " kdf_params );
 .fi
 .SH DESCRIPTION
index 3523f2b484642161012785dcfc4b245c0c83ff3f..ff0fdd40be5d283482b26d7fe5d487d01f41cc1e 100644 (file)
@@ -20,8 +20,9 @@ Standard C library
 .BR "#include <sys/syscall.h>" "   /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .P
-.BI "long syscall(SYS_keyctl, KEYCTL_GET_SECURITY, key_serial_t " key ,
-.BI "             char " buf "[_Nullable ." n "], size_t " n );
+.BI "long syscall(size_t " n ;
+.BI "             SYS_keyctl, KEYCTL_GET_SECURITY, key_serial_t " key ,
+.BI "             char " buf "[_Nullable " n "], size_t " n );
 .fi
 .SH DESCRIPTION
 .TP
index b3d432548317808dfe928b052b8c36ad163a33a2..8c334429b0a7ca82f31f103a1f9ab31b8673d9af 100644 (file)
@@ -23,11 +23,13 @@ Standard C library
 .BR "#include <sys/syscall.h>" "   /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .P
-.BI "long syscall(SYS_keyctl, KEYCTL_INSTANTIATE, key_serial_t " key ,
-.BI "             const void " payload [. n "], size_t " n ,
+.BI "long syscall(size_t " n ;
+.BI "             SYS_keyctl, KEYCTL_INSTANTIATE, key_serial_t " key ,
+.BI "             const void " payload [ n "], size_t " n ,
 .BI "             key_serial_t " keyring );
-.BI "long syscall(SYS_keyctl, KEYCTL_INSTANTIATE_IOV, key_serial_t " key ,
-.BI "             const struct iovec " payload [. n "], unsigned int " n ,
+.BI "long syscall(size_t " n ;
+.BI "             SYS_keyctl, KEYCTL_INSTANTIATE_IOV, key_serial_t " key ,
+.BI "             const struct iovec " payload [ n "], unsigned int " n ,
 .BI "             key_serial_t " keyring );
 .BI "long syscall(SYS_keyctl, KEYCTL_NEGATE, key_serial_t " key ,
 .BI "             unsigned int " timeout ", key_serial_t " keyring );
index e69f833c422fe71c7a88f5756022c0e8f8a652fb..7b1c0dfa3bb392240ebb2a286f4a66082b5e9bf4 100644 (file)
@@ -20,8 +20,9 @@ Standard C library
 .BR "#include <sys/syscall.h>" "   /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .P
-.BI "long syscall(SYS_keyctl, KEYCTL_READ, key_serial_t " key ,
-.BI "             char " buf "[_Nullable ." size "], size_t " size );
+.BI "long syscall(size_t " size ;
+.BI "             SYS_keyctl, KEYCTL_READ, key_serial_t " key ,
+.BI "             char " buf "[_Nullable " size "], size_t " size );
 .fi
 .SH DESCRIPTION
 Read the payload data of a key.
index e59522fdaf721870be6b8bb60f70598c32608c8e..0400219fb8fa5233803ce1ec7782e22d534170d6 100644 (file)
@@ -20,8 +20,9 @@ Standard C library
 .BR "#include <sys/syscall.h>" "   /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .P
-.BI "long syscall(SYS_keyctl, KEYCTL_UPDATE, key_serial_t " key ,
-.BI "             void " payload [. size "], size_t " size );
+.BI "long syscall(size_t " size ;
+.BI "             SYS_keyctl, KEYCTL_UPDATE, key_serial_t " key ,
+.BI "             void " payload [ size "], size_t " size );
 .fi
 .SH DESCRIPTION
 Update a key's data payload.
index 59d4bb16c186a81c1b3c6b844f55ffd016fc5b24..7dd8550416b9c1d47ea6eaf61b5b7386ab9a1c2a 100644 (file)
@@ -16,7 +16,8 @@ Standard C library
 .BR "#include <linux/prctl.h>" "  /* Definition of " PR_* " constants */"
 .B #include <sys/prctl.h>
 .P
-.BI "int prctl(PR_GET_AUXV, void " auxv [. size "], unsigned long " size ", 0L, 0L);"
+.BI "int prctl(size_t " size ;
+.BI "          PR_GET_AUXV, void " auxv [ size "], unsigned long " size ", 0L, 0L);"
 .fi
 .SH DESCRIPTION
 Get the auxiliary vector (auxv) into the buffer pointed to by
index 3bb3916ced7ed944bcf21a0224212e8aa9e03c21..617ea964f4145e6a99866e5fc37299757a4f6466 100644 (file)
@@ -16,7 +16,8 @@ Standard C library
 .P
 .B uint32_t arc4random(void);
 .BI "uint32_t arc4random_uniform(uint32_t " upper_bound );
-.BI "void arc4random_buf(void " buf [. n "], size_t " n );
+.BI "void arc4random_buf(size_t " n ;
+.BI "                    void " buf [ n "], size_t " n );
 .fi
 .SH DESCRIPTION
 These functions give cryptographically-secure pseudorandom numbers.
index 90f89a6b97c8d1cb26e8fc62100120306ff92964..1a70b93a826def429e976569d4876bc4cca1d1a8 100644 (file)
@@ -36,11 +36,13 @@ Standard C library
 .nf
 .B #include <execinfo.h>
 .P
-.BI "int backtrace(void *" buffer [. size "], int " size );
+.BI "int backtrace(int " size ;
+.BI "              void *" buffer [ size "], int " size );
 .P
-.BI "char **backtrace_symbols(void *const " buffer [. size "], int " size );
-.BI "void backtrace_symbols_fd(void *const " buffer [. size "], int " size ", \
-int " fd );
+.BI "char **backtrace_symbols(int " size ;
+.BI "              void *const " buffer [ size "], int " size );
+.BI "void backtrace_symbols_fd(int " size ;
+.BI "              void *const " buffer [ size "], int " size ", int " fd );
 .fi
 .SH DESCRIPTION
 .BR backtrace ()
index 73c5d6330b48494b03f38ecc0ed3fe1261f998f4..9446bfedf4eecb770dcc8da1dcdc8fc4d37b64c1 100644 (file)
@@ -12,7 +12,8 @@ Standard C library
 .nf
 .B #include <strings.h>
 .P
-.BI "[[deprecated]] int bcmp(const void " s1 [. n "], const void " s2 [. n "], \
+.BI "[[deprecated]] int bcmp(size_t " n ;
+.BI "                        const void " s1 [ n "], const void " s2 [ n "], \
 size_t " n );
 .fi
 .SH DESCRIPTION
index 2d79ffd5945ef989c93bfa3e3b461cf543b123ac..eb1f936a8ac24fba674bf1d3fb38a849c174707d 100644 (file)
@@ -21,7 +21,8 @@ Standard C library
 .nf
 .B #include <strings.h>
 .P
-.BI "[[deprecated]] void bcopy(const void " src [. n "], void " dest [. n "], \
+.BI "[[deprecated]] void bcopy(size_t " n ;
+.BI "                          const void " src [ n "], void " dest [ n "], \
 size_t " n );
 .fi
 .SH DESCRIPTION
index 40c719e36b56d25fdd9f9c9079593bdc0b809d00..4a4112ed5da19cc3270d3ef4a6c5ed94c308ca3f 100644 (file)
@@ -19,10 +19,10 @@ Standard C library
 .nf
 .B #include <stdlib.h>
 .P
-.BI "void *bsearch(const void " key [. size "], \
-const void " base [. size " * ." n ],
+.BI "void *bsearch(size_t " n ", size_t " size ;
+.BI "              const void " key [ size "], const void " base [ size " * " n ],
 .BI "              size_t " n ", size_t " size ,
-.BI "              typeof(int (const void [." size "], const void [." size ]))
+.BI "              typeof(int (const void [" size "], const void [" size ]))
 .BI "                  *" compar );
 .fi
 .SH DESCRIPTION
index 0ce0048128b86417ac50d37bec9a9d21c872a83b..7110d554011ebd5620b0f7c4ae620868a16a7a60 100644 (file)
@@ -20,29 +20,39 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "int bcmp(const void " s1 [. n "], const void " s2 [. n "], size_t " n );
+.BI "int bcmp(size_t " n ;
+.BI "         const void " s1 [ n "], const void " s2 [ n "], size_t " n );
 .P
-.BI "void bcopy(const void " src [. n "], void " dest [. n "], size_t " n );
+.BI "void bcopy(size_t " n ;
+.BI "         const void " src [ n "], void " dest [ n "], size_t " n );
 .P
-.BI "void bzero(void " s [. n "], size_t " n );
+.BI "void bzero(size_t " n ;
+.BI "         void " s [ n "], size_t " n );
 .P
-.BI "void *memccpy(void " dest [. n "], const void " src [. n "], int " c ", \
-size_t " n );
+.BI "void *memccpy(size_t " n ;
+.BI "         void " dest [ n "], const void " src [ n "], int " c ", size_t " n );
 .P
-.BI "void *memchr(const void " s [. n "], int " c ", size_t " n );
+.BI "void *memchr(size_t " n ;
+.BI "         const void " s [ n "], int " c ", size_t " n );
 .P
-.BI "int memcmp(const void " s1 [. n "], const void " s2 [. n "], size_t " n );
+.BI "int memcmp(size_t " n ;
+.BI "         const void " s1 [ n "], const void " s2 [ n "], size_t " n );
 .P
-.BI "void *memcpy(void " dest [. n "], const void " src [. n "], size_t " n );
+.BI "void *memcpy(size_t " n ;
+.BI "         void " dest [ n "], const void " src [ n "], size_t " n );
 .P
-.BI "void *memfrob(void " s [. n "], size_t " n );
+.BI "void *memfrob(size_t " n ;
+.BI "         void " s [ n "], size_t " n );
 .P
-.BI "void *memmem(const void " haystack [. haystacklen "], size_t " haystacklen ,
-.BI "             const void " needle [. needlelen "], size_t " needlelen );
+.BI "void *memmem(size_t " hsize ", size_t " nsize ;
+.BI "             const void " haystack [ hsize "], size_t " hsize ,
+.BI "             const void " needle [ nsize "], size_t " nsize );
 .P
-.BI "void *memmove(void " dest [. n "], const void " src [. n "], size_t " n );
+.BI "void *memmove(size_t " n ;
+.BI "         void " dest [ n "], const void " src [ n "], size_t " n );
 .P
-.BI "void *memset(void " s [. n "], int " c ", size_t " n );
+.BI "void *memset(size_t " n ;
+.BI "         void " s [ n "], int " c ", size_t " n );
 .fi
 .SH DESCRIPTION
 The byte string functions perform operations on strings (byte arrays)
index 8a047aebdb52178b92e1b7bfa8feb971f2dbe7e9..730c5bb6fd6de1cfbcd526f303be581109ce1650 100644 (file)
@@ -13,11 +13,13 @@ Standard C library
 .nf
 .B #include <strings.h>
 .P
-.BI "void bzero(void " s [. n "], size_t " n );
+.BI "void bzero(size_t " n ;
+.BI "           void " s [ n "], size_t " n );
 .P
 .B #include <string.h>
 .P
-.BI "void explicit_bzero(void " s [. n "], size_t " n );
+.BI "void explicit_bzero(size_t " n ;
+.BI "           void " s [ n "], size_t " n );
 .fi
 .SH DESCRIPTION
 The
index 5d2739990505e9be3406f85a80512991f2029ca3..5b937c506ffdb737607f0ae28eeaa2ba3b96af5a 100644 (file)
@@ -21,11 +21,13 @@ Standard C library
 .BI "void cfree(void *" ptr );
 .P
 /* In SCO OpenServer */
-.BI "void cfree(char " ptr [. size " * ." n "], unsigned int " n ", \
+.BI "void cfree(unsigned int " n ", unsigned int " size ;
+.BI "           char " ptr [ size " * " n "], unsigned int " n ", \
 unsigned int " size );
 .P
 /* In Solaris watchmalloc.so.1 */
-.BI "void cfree(void " ptr [. size " * ." n "], size_t " n ", size_t " size );
+.BI "void cfree(size_t " n ", size_t " size ;
+.BI "           void " ptr [ size " * " n "], size_t " n ", size_t " size );
 .fi
 .P
 .RS -4
index ab3533261b3004fe49855d263cdecdc28a788a03..0a5e77c8746c94d6e0a83fb70140713bbad52eff 100644 (file)
@@ -21,7 +21,8 @@ Standard C library
 .nf
 .B #include <unistd.h>
 .P
-.BI "size_t confstr(int " "name" ", char " buf [. size "], size_t " size );
+.BI "size_t confstr(size_t " size ;
+.BI "               int " "name" ", char " buf [ size "], size_t " size );
 .fi
 .P
 .RS -4
index 0ee4392c0c263e15090fd18a76b6572de3451336..567b1c83df376f50d03582e76db40bd7f8960246 100644 (file)
@@ -23,12 +23,12 @@ Standard C library
 .\" .B #include <des_crypt.h>
 .B #include <rpc/des_crypt.h>
 .P
-.BI "[[deprecated]] int ecb_crypt(char *" key ", char " data [. datalen ],
-.BI "                             unsigned int " datalen ", \
-unsigned int " mode );
-.BI "[[deprecated]] int cbc_crypt(char *" key ", char " data [. datalen ],
-.BI "                             unsigned int " datalen ", \
-unsigned int " mode ,
+.BI "[[deprecated]] int ecb_crypt(unsigned int " datalen ;
+.BI "                             char *" key ", char " data [ datalen ],
+.BI "                             unsigned int " datalen ", unsigned int " mode );
+.BI "[[deprecated]] int cbc_crypt(unsigned int " datalen ;
+.BI "                             char *" key ", char " data [ datalen ],
+.BI "                             unsigned int " datalen ", unsigned int " mode ,
 .BI "                             char *" ivec );
 .P
 .BI "[[deprecated]] void des_setparity(char *" key );
index 19aaecd169daaa634ddf10623c26ed4c9ae4a0f3..8f8c328c799d2a278e447c5953e158c554819c24 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .BI "int getc(FILE *" stream );
 .B "int getchar(void);"
 .P
-.BI "char *fgets(char " s "[restrict ." size "], int " size ", \
+.BI "char *fgets(int " size ;
+.BI "            char " s "[restrict " size "], int " size ", \
 FILE *restrict " stream );
 .P
 .BI "int ungetc(int " c ", FILE *" stream );
index a7796f4c2ee0b4e3cce897962620002fa13c4071..54dc63f77ac62a79d0ef9861fe9960ffd4f7f77c 100644 (file)
@@ -21,7 +21,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "wchar_t *fgetws(wchar_t " ws "[restrict ." n "], int " n \
+.BI "wchar_t *fgetws(int " n ;
+.BI "         wchar_t " ws "[restrict " n "], int " n \
 ", FILE *restrict " stream );
 .fi
 .SH DESCRIPTION
index 49b478fbfed83f864d3b05bb3cd49ec3f1956731..71b782b046e3a53c7cae4377b9e297946caf8409 100644 (file)
@@ -13,8 +13,8 @@ Standard C library
 .nf
 .B #include <stdio.h>
 .P
-.BI "FILE *fmemopen(void " buf [. size "], size_t " size ", \
-const char *" mode );
+.BI "FILE *fmemopen(size_t " size ;
+.BI "               void " buf [ size "], size_t " size ", const char *" mode );
 .fi
 .P
 .RS -4
index 12baab3a751af9741588958d7b4ccd9859ce1738..46d00ab15aef38b7bd3a8fd0a3075eee65323ef0 100644 (file)
@@ -26,10 +26,12 @@ Standard C library
 .nf
 .B #include <stdio.h>
 .P
-.BI "size_t fread(void " ptr "[restrict ." size " * ." n ],
+.BI "size_t fread(size_t " size ", size_t " n ;
+.BI "             void " ptr "[restrict " size " * " n ],
 .BI "             size_t " size ", size_t " n ,
 .BI "             FILE *restrict " stream );
-.BI "size_t fwrite(const void " ptr "[restrict ." size " * ." n ],
+.BI "size_t fwrite(size_t " size ", size_t " n ;
+.BI "             const void " ptr "[restrict " size " * " n ],
 .BI "             size_t " size ", size_t " n ,
 .BI "             FILE *restrict " stream );
 .fi
index 657924dcac31971c0671ccba4eabbf84ba18741c..9a9e8d884b7b12a503c9575bfa168ccb4150b29c 100644 (file)
@@ -20,7 +20,8 @@ Standard C library
 .nf
 .B #include <unistd.h>
 .P
-.BI "char *getcwd(char " buf [. size "], size_t " size );
+.BI "char *getcwd(size_t " size ;
+.BI "             char " buf [ size "], size_t " size );
 .B "char *get_current_dir_name(void);"
 .P
 .BI "[[deprecated]] char *getwd(char " buf [PATH_MAX]);
index d72cde41dc1d635096772e2143ad25537a4d3957..640ad1e6e918a6a470a8b4cba39b84c3f24d639e 100644 (file)
@@ -15,7 +15,8 @@ Standard C library
 .nf
 .B #include <dirent.h>
 .P
-.BI "ssize_t getdirentries(int " fd ", char " buf "[restrict ." nbytes "], \
+.BI "ssize_t getdirentries(size_t " nbytes ;
+.BI "                      int " fd ", char " buf "[restrict " nbytes "], \
 size_t " nbytes ,
 .BI "                      off_t *restrict " basep );
 .fi
index f69b72b7391b604a5db39d3efa7244b3e5646594..4833ea3b7104dd72b4494a756718a09f4b2bfedd 100644 (file)
@@ -12,7 +12,8 @@ Standard C library
 .nf
 .B #include <unistd.h>
 .P
-.BI "int getentropy(void " buffer [. length "], size_t " length );
+.BI "int getentropy(size_t " length ;
+.BI "               void " buffer [ length "], size_t " length );
 .fi
 .P
 .RS -4
index aec5fcd3c8cfaacbe8cb8e527e5a45ffcd62236e..27a3f2e63c589deddd3d72a166188d3133de20b0 100644 (file)
@@ -13,11 +13,13 @@ Standard C library
 .nf
 .B #include <grp.h>
 .P
-.BI "int getgrent_r(struct group *restrict " gbuf ,
-.BI "               char " buf "[restrict ." size "], size_t " size ,
+.BI "int getgrent_r(size_t " size ;
+.BI "               struct group *restrict " gbuf ,
+.BI "               char " buf "[restrict " size "], size_t " size ,
 .BI "               struct group **restrict " gbufp );
-.BI "int fgetgrent_r(FILE *restrict " stream ", struct group *restrict " gbuf ,
-.BI "               char " buf "[restrict ." size "], size_t " size ,
+.BI "int fgetgrent_r(size_t " size ;
+.BI "               FILE *restrict " stream ", struct group *restrict " gbuf ,
+.BI "               char " buf "[restrict " size "], size_t " size ,
 .BI "               struct group **restrict " gbufp );
 .fi
 .P
index d87e095007b3f99282a46d7187ebbd5cfe18066c..1e4fb5dd732ca665d9129e7013e2578735f7a08a 100644 (file)
@@ -25,12 +25,14 @@ Standard C library
 .BI "struct group *getgrnam(const char *" name );
 .BI "struct group *getgrgid(gid_t " gid );
 .P
-.BI "int getgrnam_r(const char *restrict " name \
+.BI "int getgrnam_r(size_t " size ;
+.BI "               const char *restrict " name \
 ", struct group *restrict " grp ,
-.BI "               char " buf "[restrict ." size "], size_t " size ,
+.BI "               char " buf "[restrict " size "], size_t " size ,
 .BI "               struct group **restrict " result );
-.BI "int getgrgid_r(gid_t " gid ", struct group *restrict " grp ,
-.BI "               char " buf "[restrict ." size "], size_t " size ,
+.BI "int getgrgid_r(size_t " size ;
+.BI "               gid_t " gid ", struct group *restrict " grp ,
+.BI "               char " buf "[restrict " size "], size_t " size ,
 .BI "               struct group **restrict " result );
 .fi
 .P
index 690a3b82e3d5fe102f56e7fe7737758a7ed351da..a1cb8f1290d714ead4b623c55d6ef42a7450aff9 100644 (file)
@@ -37,7 +37,8 @@ Standard C library
 .B [[deprecated]] extern int h_errno;
 .P
 .BI "[[deprecated]] struct hostent *gethostbyname(const char *" name );
-.BI "[[deprecated]] struct hostent *gethostbyaddr(const void " addr [. size ],
+.BI "[[deprecated]] struct hostent *gethostbyaddr(socklen_t " size ;
+.BI "                                             const void " addr [ size ],
 .BI "                                             socklen_t " size ", int " type );
 .P
 .BI "[[deprecated]] void herror(const char *" s );
@@ -50,28 +51,32 @@ Standard C library
 .B [[deprecated]]
 .BI "struct hostent *gethostbyname2(const char *" name ", int " af );
 .P
-.BI "int gethostent_r(struct hostent *restrict " ret ,
-.BI "                 char " buf "[restrict ." bufsize "], size_t " bufsize ,
+.BI "int gethostent_r(size_t " bufsize ;
+.BI "                 struct hostent *restrict " ret ,
+.BI "                 char " buf "[restrict " bufsize "], size_t " bufsize ,
 .BI "                 struct hostent **restrict " result ,
 .BI "                 int *restrict " h_errnop );
 .P
 .B [[deprecated]]
-.BI "int gethostbyaddr_r(const void " addr "[restrict ." size "], socklen_t " size ,
+.BI "int gethostbyaddr_r(socklen_t " size ", size_t " bufsize ;
+.BI "                 const void " addr "[restrict " size "], socklen_t " size ,
 .BI "                 int " type ,
 .BI "                 struct hostent *restrict " ret ,
-.BI "                 char " buf "[restrict ." bufsize "], size_t " bufsize ,
+.BI "                 char " buf "[restrict " bufsize "], size_t " bufsize ,
 .BI "                 struct hostent **restrict " result ,
 .BI "                 int *restrict " h_errnop );
 .B [[deprecated]]
-.BI "int gethostbyname_r(const char *restrict " name ,
+.BI "int gethostbyname_r(size_t " bufsize ;
+.BI "                 const char *restrict " name ,
 .BI "                 struct hostent *restrict " ret ,
-.BI "                 char " buf "[restrict ." bufsize "], size_t " bufsize ,
+.BI "                 char " buf "[restrict " bufsize "], size_t " bufsize ,
 .BI "                 struct hostent **restrict " result ,
 .BI "                 int *restrict " h_errnop );
 .B [[deprecated]]
-.BI "int gethostbyname2_r(const char *restrict " name ", int " af,
+.BI "int gethostbyname2_r(size_t " bufsize ;
+.BI "                 const char *restrict " name ", int " af,
 .BI "                 struct hostent *restrict " ret ,
-.BI "                 char " buf "[restrict ." bufsize "], size_t " bufsize ,
+.BI "                 char " buf "[restrict " bufsize "], size_t " bufsize ,
 .BI "                 struct hostent **restrict " result ,
 .BI "                 int *restrict " h_errnop );
 .fi
index 1428d382654d711cb81e050877436890ed00618a..c6918dca8784677b71191291c44ff2213ef72e59 100644 (file)
@@ -18,7 +18,8 @@ Standard C library
 .P
 .BI "[[deprecated]] struct hostent *getipnodebyname(const char *" name ", int " af ,
 .BI "                                            int " flags ", int *" error_num );
-.BI "[[deprecated]] struct hostent *getipnodebyaddr(const void " addr [. size ],
+.BI "[[deprecated]] struct hostent *getipnodebyaddr(size_t " size ;
+.BI "                                            const void " addr [ size ],
 .BI "                                            size_t " size ", int " af ,
 .BI "                                            int *" "error_num" );
 .BI "[[deprecated]] void freehostent(struct hostent *" "ip" );
index 661613798b9232884542a71e7684b536eea826ed..26d5b40bfe1ab6a4a4d14c229011a151d863d6cd 100644 (file)
@@ -17,7 +17,8 @@ Standard C library
 .B #include <unistd.h>
 .P
 .B "char *getlogin(void);"
-.BI "int getlogin_r(char " buf [. bufsize "], size_t " bufsize );
+.BI "int getlogin_r(size_t " bufsize ;
+.BI "               char " buf [ bufsize "], size_t " bufsize );
 .P
 .B #include <stdio.h>
 .P
index 9f134d6ad71d0d3a1a7d80f46a683fadcf89d821..587a179486e23e1d4cd0c8f89106f9935982278c 100644 (file)
@@ -36,9 +36,10 @@ Standard C library
 /* GNU extension */
 .B #include <mntent.h>
 .P
-.BI "struct mntent *getmntent_r(FILE *restrict " streamp ,
+.BI "struct mntent *getmntent_r(int " size ;
+.BI "              FILE *restrict " streamp ,
 .BI "              struct mntent *restrict " mntbuf ,
-.BI "              char " buf "[restrict ." size "], int " size );
+.BI "              char " buf "[restrict " size "], int " size );
 .fi
 .P
 .RS -4
index 13c03822263e1f54e1e81615f4d49c67d1ec41db..2e8f616c820517097a19b983395b3444f532079a 100644 (file)
@@ -19,11 +19,12 @@ Standard C library
 .B #include <sys/socket.h>
 .B #include <netdb.h>
 .P
-.BI "int getnameinfo(const struct sockaddr *restrict " addr \
+.BI "int getnameinfo(socklen_t " hostlen ", socklen_t " servlen ;
+.BI "                const struct sockaddr *restrict " addr \
 ", socklen_t " addrlen ,
-.BI "                char " host "[_Nullable restrict ." hostlen ],
+.BI "                char " host "[_Nullable restrict " hostlen ],
 .BI "                socklen_t " hostlen ,
-.BI "                char " serv "[_Nullable restrict ." servlen ],
+.BI "                char " serv "[_Nullable restrict " servlen ],
 .BI "                socklen_t " servlen ,
 .BI "                int " flags );
 .fi
index 8d6fcda73262b24611f83557561d8c99de2f4f2d..d3ae09d22f5744796ac2132e1ed5e280c75f5a84 100644 (file)
@@ -15,18 +15,21 @@ Standard C library
 .nf
 .B #include <netdb.h>
 .P
-.BI "int getnetent_r(struct netent *restrict " result_buf ,
-.BI "                char " buf "[restrict ." size "], size_t " size ,
+.BI "int getnetent_r(size_t " size ;
+.BI "                struct netent *restrict " result_buf ,
+.BI "                char " buf "[restrict " size "], size_t " size ,
 .BI "                struct netent **restrict " result ,
 .BI "                int *restrict " h_errnop );
-.BI "int getnetbyname_r(const char *restrict " name ,
+.BI "int getnetbyname_r(size_t " size ;
+.BI "                const char *restrict " name ,
 .BI "                struct netent *restrict " result_buf ,
-.BI "                char " buf "[restrict ." size "], size_t " size ,
+.BI "                char " buf "[restrict " size "], size_t " size ,
 .BI "                struct netent **restrict " result ,
 .BI "                int *restrict " h_errnop );
-.BI "int getnetbyaddr_r(uint32_t " net ", int " type ,
+.BI "int getnetbyaddr_r(size_t " size ;
+.BI "                uint32_t " net ", int " type ,
 .BI "                struct netent *restrict " result_buf ,
-.BI "                char " buf "[restrict ." size "], size_t " size ,
+.BI "                char " buf "[restrict " size "], size_t " size ,
 .BI "                struct netent **restrict " result ,
 .BI "                int *restrict " h_errnop );
 .P
index 09c9092fab925ac4aca566da53286db198dd32b9..b6e27cf53985ac2b3bc0c2c3a713355fece76978 100644 (file)
@@ -15,16 +15,19 @@ Standard C library
 .nf
 .B #include <netdb.h>
 .P
-.BI "int getprotoent_r(struct protoent *restrict " result_buf ,
-.BI "                  char " buf "[restrict ." size "], size_t " size ,
+.BI "int getprotoent_r(size_t " size ;
+.BI "                  struct protoent *restrict " result_buf ,
+.BI "                  char " buf "[restrict " size "], size_t " size ,
 .BI "                  struct protoent **restrict " result );
-.BI "int getprotobyname_r(const char *restrict " name ,
+.BI "int getprotobyname_r(size_t " size ;
+.BI "                  const char *restrict " name ,
 .BI "                  struct protoent *restrict " result_buf ,
-.BI "                  char " buf "[restrict ." size "], size_t " size ,
+.BI "                  char " buf "[restrict " size "], size_t " size ,
 .BI "                  struct protoent **restrict " result );
-.BI "int getprotobynumber_r(int " proto ,
+.BI "int getprotobynumber_r(size_t " size ;
+.BI "                  int " proto ,
 .BI "                  struct protoent *restrict " result_buf ,
-.BI "                  char " buf "[restrict ." size "], size_t " size ,
+.BI "                  char " buf "[restrict " size "], size_t " size ,
 .BI "                  struct protoent **restrict " result );
 .P
 .fi
index bb502ea20138e60bec92e6f4f8748e1e8abcaffd..4a3638c858751b0172b6b33bd4fa668703d14d39 100644 (file)
@@ -13,12 +13,13 @@ Standard C library
 .nf
 .B #include <pwd.h>
 .P
-.BI "int getpwent_r(struct passwd *restrict " pwbuf ,
-.BI "               char " buf "[restrict ." size "], size_t " size ,
+.BI "int getpwent_r(size_t " size ;
+.BI "               struct passwd *restrict " pwbuf ,
+.BI "               char " buf "[restrict " size "], size_t " size ,
 .BI "               struct passwd **restrict " pwbufp );
-.BI "int fgetpwent_r(FILE *restrict " stream \
-", struct passwd *restrict " pwbuf ,
-.BI "               char " buf "[restrict ." size "], size_t " size ,
+.BI "int fgetpwent_r(size_t " size ;
+.BI "               FILE *restrict " stream ", struct passwd *restrict " pwbuf ,
+.BI "               char " buf "[restrict " size "], size_t " size ,
 .BI "               struct passwd **restrict " pwbufp );
 .fi
 .P
index 0d41204a3b2bec0bfde805c9e305684e997fd9a6..2333f850527479cf4c41e588de9fefabdef71b38 100644 (file)
@@ -29,12 +29,14 @@ Standard C library
 .BI "struct passwd *getpwnam(const char *" name );
 .BI "struct passwd *getpwuid(uid_t " uid );
 .P
-.BI "int getpwnam_r(const char *restrict " name ", \
+.BI "int getpwnam_r(size_t " size ;
+.BI "               const char *restrict " name ", \
 struct passwd *restrict " pwd ,
-.BI "               char " buf "[restrict ." size "], size_t " size ,
+.BI "               char " buf "[restrict " size "], size_t " size ,
 .BI "               struct passwd **restrict " result );
-.BI "int getpwuid_r(uid_t " uid ", struct passwd *restrict " pwd ,
-.BI "               char " buf "[restrict ." size "], size_t " size ,
+.BI "int getpwuid_r(size_t " size ;
+.BI "               uid_t " uid ", struct passwd *restrict " pwd ,
+.BI "               char " buf "[restrict " size "], size_t " size ,
 .BI "               struct passwd **restrict " result );
 .fi
 .P
index 704c77a095832f2f955dafde4bbd681c077b4ff7..6503d723513e1e7f8a1ccb175d447ceb43e64b7f 100644 (file)
@@ -15,13 +15,16 @@ Standard C library
 .nf
 .B #include <netdb.h>
 .P
-.BI "int getrpcent_r(struct rpcent *" result_buf ", char " buf [. size ],
+.BI "int getrpcent_r(size_t " size ;
+.BI "                struct rpcent *" result_buf ", char " buf [ size ],
 .BI "                size_t " size ", struct rpcent **" result );
-.BI "int getrpcbyname_r(const char *" name ,
-.BI "                struct rpcent *" result_buf ", char " buf [. size ],
+.BI "int getrpcbyname_r(size_t " size ;
+.BI "                const char *" name ,
+.BI "                struct rpcent *" result_buf ", char " buf [ size ],
 .BI "                size_t " size ", struct rpcent **" result );
-.BI "int getrpcbynumber_r(int " number ,
-.BI "                struct rpcent *" result_buf ", char " buf [. size ],
+.BI "int getrpcbynumber_r(size_t " size ;
+.BI "                int " number ,
+.BI "                struct rpcent *" result_buf ", char " buf [ size ],
 .BI "                size_t " size ", struct rpcent **" result );
 .P
 .fi
index 698e158a21fa809799732d25a4fb1da3a2433293..a2b5959adb4d1ca2fb6b0f470708289bf69aeeea 100644 (file)
@@ -15,18 +15,21 @@ Standard C library
 .nf
 .B #include <netdb.h>
 .P
-.BI "int getservent_r(struct servent *restrict " result_buf ,
-.BI "                 char " buf "[restrict ." size "], size_t " size ,
+.BI "int getservent_r(size_t " size ;
+.BI "                 struct servent *restrict " result_buf ,
+.BI "                 char " buf "[restrict " size "], size_t " size ,
 .BI "                 struct servent **restrict " result );
-.BI "int getservbyname_r(const char *restrict " name ,
+.BI "int getservbyname_r(size_t " size ;
+.BI "                 const char *restrict " name ,
 .BI "                 const char *restrict " proto ,
 .BI "                 struct servent *restrict " result_buf ,
-.BI "                 char " buf "[restrict ." size "], size_t " size ,
+.BI "                 char " buf "[restrict " size "], size_t " size ,
 .BI "                 struct servent **restrict " result );
-.BI "int getservbyport_r(int " port ,
+.BI "int getservbyport_r(size_t " size ;
+.BI "                 int " port ,
 .BI "                 const char *restrict " proto ,
 .BI "                 struct servent *restrict " result_buf ,
-.BI "                 char " buf "[restrict ." size "], size_t " size ,
+.BI "                 char " buf "[restrict " size "], size_t " size ,
 .BI "                 struct servent **restrict " result );
 .P
 .fi
index a49e44d23c5a2ee3eace141f78c3c593d1976d83..64f86b278250507b08fa338061a64f4265ce8b59 100644 (file)
@@ -34,18 +34,22 @@ Standard C library
 /* GNU extension */
 .B #include <shadow.h>
 .P
-.BI "int getspent_r(struct spwd *" spbuf ,
-.BI "               char " buf [. size "], size_t " size ", \
+.BI "int getspent_r(size_t " size ;
+.BI "               struct spwd *" spbuf ,
+.BI "               char " buf [ size "], size_t " size ", \
 struct spwd **" spbufp );
-.BI "int getspnam_r(const char *" name ", struct spwd *" spbuf ,
-.BI "               char " buf [. size "], size_t " size ", \
+.BI "int getspnam_r(size_t " size ;
+.BI "               const char *" name ", struct spwd *" spbuf ,
+.BI "               char " buf [ size "], size_t " size ", \
 struct spwd **" spbufp );
 .P
-.BI "int fgetspent_r(FILE *" stream ", struct spwd *" spbuf ,
-.BI "               char " buf [. size "], size_t " size ", \
+.BI "int fgetspent_r(size_t " size ;
+.BI "               FILE *" stream ", struct spwd *" spbuf ,
+.BI "               char " buf [ size "], size_t " size ", \
 struct spwd **" spbufp );
-.BI "int sgetspent_r(const char *" s ", struct spwd *" spbuf ,
-.BI "               char " buf [. size "], size_t " size ", \
+.BI "int sgetspent_r(size_t " size ;
+.BI "               const char *" s ", struct spwd *" spbuf ,
+.BI "               char " buf [ size "], size_t " size ", \
 struct spwd **" spbufp );
 .fi
 .P
index cd20ba2e6fc5e1857d9bfb4e63f0bb243d2ba08c..1a4077e5ad6536a467d7f2f9fe5cb1fcbe6b50bd 100644 (file)
@@ -12,12 +12,14 @@ Resolver library
 .nf
 .B #include <arpa/inet.h>
 .P
-.BI "int inet_net_pton(int " af ", const char *" pres ,
-.BI "                  void " netp [. nsize "], size_t " nsize );
-.BI "char *inet_net_ntop(int " af ,
-.BI "                  const void " netp [(. bits " - CHAR_BIT + 1) / CHAR_BIT],"
+.BI "int inet_net_pton(size_t " nsize ;
+.BI "                  int " af ", const char *" pres ,
+.BI "                  void " netp [ nsize "], size_t " nsize );
+.BI "char *inet_net_ntop(int " bits ", size_t " psize ;
+.BI "                  int " af ,
+.BI "                  const void " netp [( bits " - CHAR_BIT + 1) / CHAR_BIT],"
 .BI "                  int " bits ,
-.BI "                  char " pres [. psize "], size_t " psize );
+.BI "                  char " pres [ psize "], size_t " psize );
 .fi
 .P
 .RS -4
index 2082d2a5e7755d8b5a4bf49e4b76e01e5915efe1..d9d1d3b5a840cdf1e2f2e47c3b733944a770ef7f 100644 (file)
@@ -14,8 +14,9 @@ Standard C library
 .nf
 .B #include <arpa/inet.h>
 .P
-.BI "const char *inet_ntop(int " af ", const void *restrict " src ,
-.BI "                      char " dst "[restrict ." size "], socklen_t " size );
+.BI "const char *inet_ntop(socklen_t " size ;
+.BI "                      int " af ", const void *restrict " src ,
+.BI "                      char " dst "[restrict " size "], socklen_t " size );
 .fi
 .SH DESCRIPTION
 This function converts the network address structure
index 0dfda7bd420a5975e4f15bf440dafb0b34903121..41e13559c7c836b6771a67db08a5b45e2ab692ed 100644 (file)
@@ -14,15 +14,17 @@ Standard C library
 .nf
 .B #include <search.h>
 .P
-.BI "void *lfind(const void " key [. size "], \
-const void " base [*. n " * ." size ],
+.BI "void *lfind(size_t *" n ", size_t " size ;
+.BI "            const void " key [ size "], \
+const void " base [* n " * " size ],
 .BI "            size_t *" n ", size_t " size ,
-.BI "            typeof(int (const void [." size "], const void [." size ]))
+.BI "            typeof(int (const void [" size "], const void [" size ]))
 .BI "                *" compar );
-.BI "void *lsearch(const void " key [. size "], \
-void " base [*. n " * ." size ],
+.BI "void *lsearch(size_t *" n ", size_t " size ;
+.BI "            const void " key [ size "], \
+void " base [* n " * " size ],
 .BI "            size_t *" n ", size_t " size ,
-.BI "            typeof(int (const void [." size "], const void [." size ]))
+.BI "            typeof(int (const void [" size "], const void [" size ]))
 .BI "                *" compar );
 .fi
 .SH DESCRIPTION
index a87389a56fd344c087522fda29f2c9a1200e5348..28de174b0a8d598aec3355eee4c66cd65e9cb17a 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <stdlib.h>
 .P
-.BI "int mblen(const char " s [. n "], size_t " n );
+.BI "int mblen(size_t " n ;
+.BI "          const char " s [ n "], size_t " n );
 .fi
 .SH DESCRIPTION
 If
index c3db440f38f53799c505c8878074548c90b69288..0de0cf93ef452f08849b25fbd207d3eb2945ca65 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "size_t mbrlen(const char " s "[restrict ." n "], size_t " n ,
+.BI "size_t mbrlen(size_t " n ;
+.BI "              const char " s "[restrict " n "], size_t " n ,
 .BI "              mbstate_t *restrict " ps );
 .fi
 .SH DESCRIPTION
index 9b449dbbffdadef21c1addb1ec0835ff4d73f842..ccfa8fd51ce5753d306c1a7d34039b3d6e86edc9 100644 (file)
@@ -20,7 +20,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "size_t mbrtowc(wchar_t *restrict " pwc ", const char " s "[restrict ." n ],
+.BI "size_t mbrtowc(size_t " n ;
+.BI "               wchar_t *restrict " pwc ", const char " s "[restrict " n ],
 .BI "               size_t " n ", mbstate_t *restrict " ps );
 .fi
 .SH DESCRIPTION
index 27ece4221a99a0ced3df768e4470b65755cc96be..892def97fc913f1f19a555a682f157044276826f 100644 (file)
@@ -18,7 +18,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "size_t mbsnrtowcs(wchar_t " dest "[restrict ." size "], const char **restrict " src ,
+.BI "size_t mbsnrtowcs(size_t " size ;
+.BI "                  wchar_t " dest "[restrict " size "], const char **restrict " src ,
 .BI "                  size_t " nms ", size_t " size \
 ", mbstate_t *restrict " ps );
 .fi
index 1f2be4ae3cb3a8e56a7b73aa4ba375f5c214243e..27bd8d641ab7cf6d97cf655fc5a487862bdae7f0 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "size_t mbsrtowcs(wchar_t " dest "[restrict ." dsize ],
+.BI "size_t mbsrtowcs(size_t " dsize ;
+.BI "                 wchar_t " dest "[restrict " dsize ],
 .BI "                 const char **restrict " src ,
 .BI "                 size_t " dsize ", mbstate_t *restrict " ps );
 .fi
index 41081fa0c676646b07c70e5296461b4e1b4e82fb..d356f284f3ad09939836261415c19adff83465c6 100644 (file)
@@ -20,7 +20,8 @@ Standard C library
 .nf
 .B #include <stdlib.h>
 .P
-.BI "size_t mbstowcs(wchar_t " dest "[restrict ." dsize "], \
+.BI "size_t mbstowcs(size_t " dsize ;
+.BI "                wchar_t " dest "[restrict " dsize "], \
 const char *restrict " src ,
 .BI "                size_t " dsize );
 .fi
index 44f7f8110c136459f637217c6c80516226a132af..07ab9e03c2f520e94bae3d41e1404fbc20c74db1 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <stdlib.h>
 .P
-.BI "int mbtowc(wchar_t *restrict " pwc ", const char " s "[restrict ." n "], \
+.BI "int mbtowc(size_t " n ;
+.BI "           wchar_t *restrict " pwc ", const char " s "[restrict " n "], \
 size_t " n );
 .fi
 .SH DESCRIPTION
index 893c3c5edbedf07dfdc8999aec298d66c6ced937..81a055698d6fe77bd43ee02680c5cc5f4ef741d3 100644 (file)
@@ -18,7 +18,8 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "void *memccpy(void " dest "[restrict ." n "], const void " src "[restrict ." n ],
+.BI "void *memccpy(size_t " n ;
+.BI "              void " dest "[restrict " n "], const void " src "[restrict " n ],
 .BI "              int " c ", size_t " n );
 .fi
 .SH DESCRIPTION
index 810912d823ad6f4e8acd51c34fc5d454327c2183..022fd12247c4a36c2e246070baf689b732535a07 100644 (file)
@@ -20,8 +20,10 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "void *memchr(const void " s [. n "], int " c ", size_t " n );
-.BI "void *memrchr(const void " s [. n "], int " c ", size_t " n );
+.BI "void *memchr(size_t " n ;
+.BI "             const void " s [ n "], int " c ", size_t " n );
+.BI "void *memrchr(size_t " n ;
+.BI "             const void " s [ n "], int " c ", size_t " n );
 .P
 .BI "[[deprecated]] void *rawmemchr(const void *" s ", int " c );
 .fi
index e9e31fdf99c93177cdada9be8e8920124b6acf58..b76e606e4a701335a27b37d41d0c87672e1c281b 100644 (file)
@@ -18,7 +18,8 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "int memcmp(const void " s1 [. n "], const void " s2 [. n "], size_t " n );
+.BI "int memcmp(size_t " n ;
+.BI "           const void " s1 [ n "], const void " s2 [ n "], size_t " n );
 .fi
 .SH DESCRIPTION
 The
index a39d017855226561f46703375dbc2438022e2486..200309d50bcb66c2851d9a1dba43c87d516b0fa6 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "void *memcpy(void " dest "[restrict ." n "], const void " src "[restrict ." n ],
+.BI "void *memcpy(size_t " n ;
+.BI "             void " dest "[restrict " n "], const void " src "[restrict " n ],
 .BI "             size_t " n );
 .fi
 .SH DESCRIPTION
index 24e330f109d819f233c0bcb77c0fdbb09eb153a0..17b7dc3b3a8f1a7ae40825134f589ea34e41859a 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
 .B #include <string.h>
 .P
-.BI "void *memfrob(void " s [. n "], size_t " n );
+.BI "void *memfrob(size_t " n ;
+.BI "              void " s [ n "], size_t " n );
 .fi
 .SH DESCRIPTION
 The
index 74fc92eb969c85e6ce7d6fa804dc6a721a110b89..f61cadfe550f21df3b994dc9e391c90ff878e57e 100644 (file)
@@ -19,8 +19,9 @@ Standard C library
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
 .B #include <string.h>
 .P
-.BI "void *memmem(const void " haystack [. haystacklen "], size_t " haystacklen ,
-.BI "             const void " needle [. needlelen "], size_t " needlelen  );
+.BI "void *memmem(size_t " hsize ", size_t " nsize ;
+.BI "             const void " haystack [ hsize "], size_t " hsize ,
+.BI "             const void " needle [ nsize "], size_t " nsize  );
 .fi
 .SH DESCRIPTION
 The
@@ -28,13 +29,13 @@ The
 function finds the start of the first occurrence
 of the substring
 .I needle
-of length
-.I needlelen
+of size
+.I nsize
 in the memory
 area
 .I haystack
-of length
-.IR haystacklen .
+of size
+.IR hsize .
 .SH RETURN VALUE
 The
 .BR memmem ()
index 594342a6a2e44942d0628c8f001d4cf47c340fe1..1b108320e42410264cdcb7ff7e1a2734dbf92154 100644 (file)
@@ -18,7 +18,8 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "void *memmove(void " dest [. n "], const void " src [. n "], size_t " n );
+.BI "void *memmove(size_t " n ;
+.BI "              void " dest [ n "], const void " src [ n "], size_t " n );
 .fi
 .SH DESCRIPTION
 The
index 913cf1ace3a88f275a8f9928f4cf170c22b92daf..429bcd93cabf7d67c2e5514f1a43800844a5fae6 100644 (file)
@@ -17,14 +17,15 @@ Standard C library
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
 .B #include <string.h>
 .P
-.BI "void *mempcpy(void " dest "[restrict ." n "], const void " src "[restrict ." n ],
+.BI "void *mempcpy(size_t " n ;
+.BI "              void " dest "[restrict " n "], const void " src "[restrict " n ],
 .BI "              size_t " n );
 .P
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
 .B #include <wchar.h>
 .P
-.BI "wchar_t *wmempcpy(wchar_t " dest "[restrict ." n ],
-.BI "              const wchar_t " src "[restrict ." n ],
+.BI "wchar_t *wmempcpy(size_t " n ;
+.BI "              wchar_t " dest "[restrict " n "], const wchar_t " src "[restrict " n ],
 .BI "              size_t " n );
 .fi
 .SH DESCRIPTION
index 2c2b21ffcaae9ac86648ce9658ebec94f2c9eb47..cba325f61f6c6dbc85a44a023a88626de799c4cf 100644 (file)
@@ -18,7 +18,8 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "void *memset(void " s [. n "], int " c ", size_t " n );
+.BI "void *memset(size_t " n ;
+.BI "             void " s [ n "], int " c ", size_t " n );
 .fi
 .SH DESCRIPTION
 The
index dc59c72e8a848e8eb556986bb8a415cd962f8c70..9590f3dee6f9df430d425808e2e642aa09232ea4 100644 (file)
@@ -13,14 +13,15 @@ Real-time library
 .nf
 .B #include <mqueue.h>
 .P
-.BI "ssize_t mq_receive(mqd_t " mqdes ", char " msg_ptr [. msg_len ],
+.BI "ssize_t mq_receive(size_t " msg_len ;
+.BI "                   mqd_t " mqdes ", char " msg_ptr [ msg_len ],
 .BI "                   size_t " msg_len ", unsigned int *" msg_prio );
 .P
 .B #include <time.h>
 .B #include <mqueue.h>
 .P
-.BI "ssize_t mq_timedreceive(mqd_t " mqdes ", \
-char *restrict " msg_ptr [. msg_len ],
+.BI "ssize_t mq_timedreceive(size_t " msg_len ;
+.BI "                   mqd_t " mqdes ", char *restrict " msg_ptr [ msg_len ],
 .BI "                   size_t " msg_len ", unsigned int *restrict " msg_prio ,
 .BI "                   const struct timespec *restrict " abs_timeout );
 .fi
index 2a01f3d12b6468e594a419cdcb08de2ec209ad60..3466d75be5694c95f27528e8e90273e301836a90 100644 (file)
@@ -13,13 +13,15 @@ Real-time library
 .nf
 .B #include <mqueue.h>
 .P
-.BI "int mq_send(mqd_t " mqdes ", const char " msg_ptr [. msg_len ],
+.BI "int mq_send(size_t " msg_len ;
+.BI "              mqd_t " mqdes ", const char " msg_ptr [ msg_len ],
 .BI "              size_t " msg_len ", unsigned int " msg_prio );
 .P
 .B #include <time.h>
 .B #include <mqueue.h>
 .P
-.BI "int mq_timedsend(mqd_t " mqdes ", const char " msg_ptr [. msg_len ],
+.BI "int mq_timedsend(size_t " msg_len ;
+.BI "              mqd_t " mqdes ", const char " msg_ptr [ msg_len ],
 .BI "              size_t " msg_len ", unsigned int " msg_prio ,
 .BI "              const struct timespec *" abs_timeout );
 .fi
index d8c97276c443cc71597f25f81889f957293a4673..7181f3108d2939fd529822ec8033ac4f5a07971a 100644 (file)
@@ -12,7 +12,8 @@ Standard C library
 .nf
 .B #include <sys/mman.h>
 .P
-.BI "int posix_madvise(void " addr [. size "], size_t " size ", int " advice );
+.BI "int posix_madvise(size_t " size ;
+.BI "                  void " addr [ size "], size_t " size ", int " advice );
 .fi
 .P
 .RS -4
index 2129e26dc67ab75e7a64a782586d22fab41db7a3..866e8e15b56495f4721aca4f04f264ac232f36cd 100644 (file)
@@ -31,7 +31,8 @@ Standard C library
 .BI "            const char *restrict " format ", ...);"
 .BI "int sprintf(char *restrict " str ,
 .BI "            const char *restrict " format ", ...);"
-.BI "int snprintf(char " str "[restrict ." size "], size_t " size ,
+.BI "int snprintf(size_t " size ;
+.BI "            char " str "[restrict " size "], size_t " size ,
 .BI "            const char *restrict " format ", ...);"
 .P
 .BI "int vprintf(const char *restrict " format ", va_list " ap );
@@ -41,7 +42,8 @@ Standard C library
 .BI "            const char *restrict " format ", va_list " ap );
 .BI "int vsprintf(char *restrict " str ,
 .BI "            const char *restrict " format ", va_list " ap );
-.BI "int vsnprintf(char " str "[restrict ." size "], size_t " size ,
+.BI "int vsnprintf(size_t " size ;
+.BI "            char " str "[restrict " size "], size_t " size ,
 .BI "            const char *restrict " format ", va_list " ap );
 .fi
 .P
index 0fc74b1890d4c350ea42d2ce931a2ee21987e071..e36d2dbe5ef4be477840b91ad9d1e25139552f11 100644 (file)
@@ -15,8 +15,9 @@ POSIX threads library
 .nf
 .B #include <pthread.h>
 .P
-.BI "int pthread_attr_setstack(pthread_attr_t *" attr ,
-.BI "                          void " stackaddr [. stacksize ],
+.BI "int pthread_attr_setstack(size_t " stacksize ;
+.BI "                          pthread_attr_t *" attr ,
+.BI "                          void " stackaddr [ stacksize ],
 .BI "                          size_t " stacksize );
 .BI "int pthread_attr_getstack(const pthread_attr_t *restrict " attr ,
 .BI "                          void **restrict " stackaddr ,
index 717a08e514eab7a88dab7a91b34a999676aedd14..ccddbb654653a3adfbabc122fc9135de9f63829d 100644 (file)
@@ -16,7 +16,8 @@ POSIX threads library
 .B #include <pthread.h>
 .P
 .BI "int pthread_setname_np(pthread_t " thread ", const char *" name );
-.BI "int pthread_getname_np(pthread_t " thread ", char " name [. size "], \
+.BI "int pthread_getname_np(size_t " size ;
+.BI "                       pthread_t " thread ", char " name [ size "], \
 size_t " size );
 .fi
 .SH DESCRIPTION
index 732d0db0ebadcddbd6cefb9cbcc929418bd1caaa..b3b33f9e1a1b1397a3eed11cbfbceaccab8c18e2 100644 (file)
@@ -16,7 +16,8 @@ Standard C library
 .B #include <stdlib.h>
 .P
 .BI "char *ptsname(int " fd );
-.BI "int ptsname_r(int " fd ", char " buf [. size "], size_t " size );
+.BI "int ptsname_r(size_t " size ;
+.BI "              int " fd ", char " buf [ size "], size_t " size );
 .fi
 .P
 .RS -4
index afc56082430e6a2f1bd10f8268f01e0042c448a6..02233104d44b0ce093d0da8195d5d606e69b2e20 100644 (file)
@@ -25,13 +25,13 @@ Standard C library
 .nf
 .B #include <stdlib.h>
 .P
-.BI "void qsort(void " base [. size " * ." n "], size_t " n ", \
-size_t " size ,
-.BI "           typeof(int (const void [." size "], const void [." size "]))"
+.BI "void qsort(size_t " n ", size_t " size ;
+.BI "           void " base [ n " * " size "], size_t " n ", size_t " size ,
+.BI "           typeof(int (const void [" size "], const void [" size "]))"
 .BI "               *" compar );
-.BI "void qsort_r(void " base [. size " * ." n "], size_t " n ", \
-size_t " size ,
-.BI "           typeof(int (const void [." size "], const void [." size "], void *))"
+.BI "void qsort_r(size_t " n ", size_t " size ;
+.BI "           void " base [ n " * " size "], size_t " n ", size_t " size ,
+.BI "           typeof(int (const void [" size "], const void [" size "], void *))"
 .BI "               *" compar ,
 .BI "           void *" arg ");"
 .fi
index 9b640e1542ed0f247d1ab623b66e80c4698426c4..ba13780b788a9a04fbb4089971cb6c2ff4b73b9d 100644 (file)
@@ -24,7 +24,8 @@ Standard C library
 .B long random(void);
 .BI "void srandom(unsigned int " seed );
 .P
-.BI "char *initstate(unsigned int " seed ", char " state [. n "], size_t " n );
+.BI "char *initstate(size_t " n ;
+.BI "                unsigned int " seed ", char " state [ n "], size_t " n );
 .BI "char *setstate(char *" state );
 .fi
 .P
index a094c3b209f998720e190d0e242f0dcdc70c94b2..934551686931ef3b8d609a36092c56b0f122b939 100644 (file)
@@ -25,11 +25,12 @@ Standard C library
 .BI "int regexec(const regex_t *restrict " preg \
 ", const char *restrict " string ,
 .BI "            size_t " nmatch ", \
-regmatch_t " pmatch "[_Nullable restrict ." nmatch ],
+regmatch_t " pmatch "[_Nullable restrict " nmatch ],
 .BI "            int " eflags );
 .P
-.BI "size_t regerror(int " errcode ", const regex_t *_Nullable restrict " preg ,
-.BI "            char " errbuf "[_Nullable restrict ." errbuf_size ],
+.BI "size_t regerror(size_t " errbuf_size ;
+.BI "            int " errcode ", const regex_t *_Nullable restrict " preg ,
+.BI "            char " errbuf "[_Nullable restrict " errbuf_size ],
 .BI "            size_t " errbuf_size );
 .BI "void regfree(regex_t *" preg );
 .P
index 3399b1649bc026c131744b8001c90e4ec79a755e..40b95df1903b0c96a6c119a93b803051fa9ffb6a 100644 (file)
@@ -34,37 +34,44 @@ Resolver library
 .P
 .BI "void res_nclose(res_state " statep );
 .P
-.BI "int res_nquery(res_state " statep ,
+.BI "int res_nquery(int " anslen ;
+.BI "           res_state " statep ,
 .BI "           const char *" dname ", int " class ", int " type ,
-.BI "           unsigned char " answer [. anslen "], int " anslen );
+.BI "           unsigned char " answer [ anslen "], int " anslen );
 .P
-.BI "int res_nsearch(res_state " statep ,
+.BI "int res_nsearch(int " anslen ;
+.BI "           res_state " statep ,
 .BI "           const char *" dname ", int " class ", int " type ,
-.BI "           unsigned char " answer [. anslen "], int " anslen );
+.BI "           unsigned char " answer [ anslen "], int " anslen );
 .P
-.BI "int res_nquerydomain(res_state " statep ,
+.BI "int res_nquerydomain(int " anslen ;
+.BI "           res_state " statep ,
 .BI "           const char *" name ", const char *" domain ,
-.BI "           int " class ", int " type ", unsigned char " answer [. anslen ],
+.BI "           int " class ", int " type ", unsigned char " answer [ anslen ],
 .BI "           int " anslen );
 .P
-.BI "int res_nmkquery(res_state " statep ,
+.BI "int res_nmkquery(int " datalen ", int " buflen ;
+.BI "           res_state " statep ,
 .BI "           int " op ", const char *" dname ", int " class ,
-.BI "           int " type ", const unsigned char " data [. datalen "], \
+.BI "           int " type ", const unsigned char " data [ datalen "], \
 int " datalen ,
 .BI "           const unsigned char *" newrr ,
-.BI "           unsigned char " buf [. buflen "], int " buflen );
+.BI "           unsigned char " buf [ buflen "], int " buflen );
 .P
-.BI "int res_nsend(res_state " statep ,
-.BI "           const unsigned char " msg [. msglen "], int " msglen ,
-.BI "           unsigned char " answer [. anslen "], int " anslen );
+.BI "int res_nsend(int " msglen ", int " anslen ;
+.BI "           res_state " statep ,
+.BI "           const unsigned char " msg [ msglen "], int " msglen ,
+.BI "           unsigned char " answer [ anslen "], int " anslen );
 .P
-.BI "int dn_comp(const char *" exp_dn ", unsigned char " comp_dn [. length ],
+.BI "int dn_comp(int " length ;
+.BI "           const char *" exp_dn ", unsigned char " comp_dn [ length ],
 .BI "           int " length ", unsigned char **" dnptrs ,
 .BI "           unsigned char **" lastdnptr );
 .P
-.BI "int dn_expand(const unsigned char *" msg ,
+.BI "int dn_expand(int " length ;
+.BI "           const unsigned char *" msg ,
 .BI "           const unsigned char *" eomorig ,
-.BI "           const unsigned char *" comp_dn ", char " exp_dn [. length ],
+.BI "           const unsigned char *" comp_dn ", char " exp_dn [ length ],
 .BI "           int " length );
 .P
 .B [[deprecated]] extern struct __res_state _res;
@@ -72,28 +79,33 @@ int " datalen ,
 .B [[deprecated]] int res_init(void);
 .P
 .B [[deprecated]]
-.BI "int res_query(const char *" dname ", int " class ", int " type ,
-.BI "           unsigned char " answer [. anslen "], int " anslen );
+.BI "int res_query(int " anslen ;
+.BI "           const char *" dname ", int " class ", int " type ,
+.BI "           unsigned char " answer [ anslen "], int " anslen );
 .P
 .B [[deprecated]]
-.BI "int res_search(const char *" dname ", int " class ", int " type ,
-.BI "           unsigned char " answer [. anslen "], int " anslen );
+.BI "int res_search(int " anslen ;
+.BI "           const char *" dname ", int " class ", int " type ,
+.BI "           unsigned char " answer [ anslen "], int " anslen );
 .P
 .B [[deprecated]]
-.BI "int res_querydomain(const char *" name ", const char *" domain ,
-.BI "           int " class ", int " type ", unsigned char " answer [. anslen ],
+.BI "int res_querydomain(int " anslen ;
+.BI "           const char *" name ", const char *" domain ,
+.BI "           int " class ", int " type ", unsigned char " answer [ anslen ],
 .BI "           int " anslen );
 .P
 .B [[deprecated]]
-.BI "int res_mkquery(int " op ", const char *" dname ", int " class ,
-.BI "           int " type ", const unsigned char " data [. datalen "], \
+.BI "int res_mkquery(int " datalen ", int " buflen ;
+.BI "           int " op ", const char *" dname ", int " class ,
+.BI "           int " type ", const unsigned char " data [ datalen "], \
 int " datalen ,
 .BI "           const unsigned char *" newrr ,
-.BI "           unsigned char " buf [. buflen "], int " buflen );
+.BI "           unsigned char " buf [ buflen "], int " buflen );
 .P
 .B [[deprecated]]
-.BI "int res_send(const unsigned char " msg [. msglen "], int " msglen ,
-.BI "           unsigned char " answer [. anslen "], int " anslen );
+.BI "int res_send(int " msglen ", int " anslen ;
+.BI "           const unsigned char " msg [ msglen "], int " msglen ,
+.BI "           unsigned char " answer [ anslen "], int " anslen );
 .fi
 .SH DESCRIPTION
 .B Note:
index b5d7d84c4aeaed1604c2b28b5190ca11bdf4f2f6..cd1d6ede84e9ad332cedcb6cd77d3939d3e4450c 100644 (file)
@@ -75,7 +75,7 @@ This is the default authentication used by RPC.
 .P
 .nf
 .BI "AUTH *authunix_create(char *" host ", uid_t " uid ", gid_t " gid ,
-.BI "                      int " n ", gid_t " aup_gids [. n ]);
+.BI "                      int " n ", gid_t " aup_gids [ n ]);
 .fi
 .IP
 Create and return an RPC authentication handle that contains
index c3dfadb7ace8f65bdc2d6def3f3ce66d11cddf3f..1091862cdae4c9cde469505d127c80eb0679c2f8 100644 (file)
@@ -20,16 +20,16 @@ Standard C library
 .B "void endaliasent(void);"
 .P
 .B "struct aliasent *getaliasent(void);"
-.BI "int getaliasent_r(struct aliasent *restrict " result ,
-.BI "                     char " buffer "[restrict ." size "], \
-size_t " size ,
+.BI "int getaliasent_r(size_t " size ;
+.BI "                     struct aliasent *restrict " result ,
+.BI "                     char " buffer "[restrict " size "], size_t " size ,
 .BI "                     struct aliasent **restrict " res );
 .P
 .BI "struct aliasent *getaliasbyname(const char *" name );
-.BI "int getaliasbyname_r(const char *restrict " name ,
+.BI "int getaliasbyname_r(size_t " size ;
+.BI "                     const char *restrict " name ,
 .BI "                     struct aliasent *restrict " result ,
-.BI "                     char " buffer "[restrict ." size "], \
-size_t " size ,
+.BI "                     char " buffer "[restrict " size "], size_t " size ,
 .BI "                     struct aliasent **restrict " res );
 .fi
 .SH DESCRIPTION
index 834b4f411d7cc6db2b3f928eda08eb959611b2f7..5d5dee37390163df1b4e66bca7b2b0df2df71c5c 100644 (file)
@@ -28,11 +28,13 @@ Standard C library
 .nf
 .B #include <stdio.h>
 .P
-.BI "int setvbuf(FILE *restrict " stream ", char " buf "[restrict ." size ],
+.BI "int setvbuf(size_t " size ;
+.BI "            FILE *restrict " stream ", char " buf "[restrict " size ],
 .BI "            int " mode ", size_t " size );
 .P
 .BI "void setbuf(FILE *restrict " stream ", char *restrict " buf );
-.BI "void setbuffer(FILE *restrict " stream ", char " buf "[restrict ." size ],
+.BI "void setbuffer(size_t " size ;
+.BI "            FILE *restrict " stream ", char " buf "[restrict " size ],
 .BI "            size_t "  size );
 .BI "void setlinebuf(FILE *" stream );
 .fi
index 88b24cbca0597fdbd15052b72540b69c6f803301..3f5921e7b009d7f49203ec05f654bdff6fd41eb7 100644 (file)
@@ -22,9 +22,10 @@ Standard C library
 .P
 .BI "int getnetgrent(char **restrict " host ,
 .BI "            char **restrict " user ", char **restrict " domain );
-.BI "int getnetgrent_r(char **restrict " host ,
+.BI "int getnetgrent_r(size_t " size ;
+.BI "            char **restrict " host ,
 .BI "            char **restrict " user ", char **restrict " domain ,
-.BI "            char " buf "[restrict ." size "], size_t " size );
+.BI "            char " buf "[restrict " size "], size_t " size );
 .P
 .BI "int innetgr(const char *" netgroup ", const char *" host ,
 .BI "            const char *" user ", const char *" domain );
index 4ebe64754872a7b56f94bd74be5db0f1291ea2cc..66eabd1089735fa5a6ebb57fde506497b4adc3ef 100644 (file)
@@ -16,10 +16,12 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "char *strncpy(char " dst "[restrict ." dsize "], \
+.BI "char *strncpy(size_t " dsize ;
+.BI "              char " dst "[restrict " dsize "], \
 const char *restrict " src ,
 .BI "              size_t " dsize );
-.BI "char *stpncpy(char " dst "[restrict ." dsize "], \
+.BI "char *stpncpy(size_t " dsize ;
+.BI "              char " dst "[restrict " dsize "], \
 const char *restrict " src ,
 .BI "              size_t " dsize );
 .fi
index 298c34ea77d273a5d457739b6587b619aaeadf2d..de2b4a4cc2d3b7326fa56c25acf176c65ab03f2c 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .B #include <strings.h>
 .P
 .BI "int strcasecmp(const char *" s1 ", const char *" s2 );
-.BI "int strncasecmp(const char " s1 [. n "], const char " s2 [. n "], \
+.BI "int strncasecmp(size_t " n ;
+.BI "                const char " s1 [ n "], const char " s2 [ n "], \
 size_t " n );
 .fi
 .SH DESCRIPTION
index b027687516e2f99bb4c9d6805cd053352ef13a47..8b2786aaa2aa8fd92b0ef94a38debc3d2f665ba5 100644 (file)
@@ -22,7 +22,8 @@ Standard C library
 .B #include <string.h>
 .P
 .BI "int strcmp(const char *" s1 ", const char *" s2 );
-.BI "int strncmp(const char " s1 [. n "], const char " s2 [. n "], size_t " n );
+.BI "int strncmp(size_t " n ;
+.BI "            const char " s1 [ n "], const char " s2 [ n "], size_t " n );
 .fi
 .SH DESCRIPTION
 The
index 61922f341f11de8edc64621456d1d864ce125788..18dee08ca244c0059b72d64c67eeb529a432bb6d 100644 (file)
@@ -21,9 +21,11 @@ Standard C library
 .P
 .BI "char *strdup(const char *" s );
 .P
-.BI "char *strndup(const char " s [. n "], size_t " n );
+.BI "char *strndup(size_t " n ;
+.BI "              const char " s [ n "], size_t " n );
 .BI "char *strdupa(const char *" s );
-.BI "char *strndupa(const char " s [. n "], size_t " n );
+.BI "char *strndupa(size_t " n ;
+.BI "              const char " s [ n "], size_t " n );
 .fi
 .P
 .RS -4
index 14ef5d72da416f0998c233d6b45cb71e22b8a4c4..b84e393e2ddd3bbe7f5ab8eb4b8c6bb7cbf5d622 100644 (file)
@@ -32,10 +32,12 @@ Standard C library
 .BI "const char *strerrorname_np(int " errnum );
 .BI "const char *strerrordesc_np(int " errnum );
 .P
-.BI "int strerror_r(int " errnum ", char " buf [. size "], size_t " size );
+.BI "int strerror_r(size_t " size ;
+.BI "               int " errnum ", char " buf [ size "], size_t " size );
                /* XSI-compliant */
 .P
-.BI "char *strerror_r(int " errnum ", char " buf [. size "], size_t " size );
+.BI "char *strerror_r(size_t " size ;
+.BI "               int " errnum ", char " buf [ size "], size_t " size );
                /* GNU-specific */
 .P
 .BI "char *strerror_l(int " errnum ", locale_t " locale );
index ccbf94eab5a1e14014a6b2daffd5d51803c8a984..a85b1ab67868a7ccb7a0c175c998134631927d73 100644 (file)
@@ -13,9 +13,11 @@ Standard C library
 .nf
 .B #include <monetary.h>
 .P
-.BI "ssize_t strfmon(char " s "[restrict ." max "], size_t " max ,
+.BI "ssize_t strfmon(size_t " max ;
+.BI "                char " s "[restrict " max "], size_t " max ,
 .BI "                const char *restrict " format ", ...);"
-.BI "ssize_t strfmon_l(char " s "[restrict ." max "], size_t " max ", \
+.BI "ssize_t strfmon_l(size_t " max ;
+.BI "                char " s "[restrict " max "], size_t " max ", \
 locale_t " locale ,
 .BI "                const char *restrict " format ", ...);"
 .fi
index 4cf28aeca0e6e9f62ad63ee02a1e99cee6623bbc..382b2f52105eb7273f9291b6e8670fab7bb37905 100644 (file)
@@ -21,11 +21,14 @@ Standard C library
 .nf
 .B #include <stdlib.h>
 .P
-.BI "int strfromd(char " str "[restrict ." n "], size_t " n ,
+.BI "int strfromd(size_t " n ;
+.BI "             char " str "[restrict " n "], size_t " n ,
 .BI "             const char *restrict " format ", double " fp ");"
-.BI "int strfromf(char " str "[restrict ." n "], size_t " n ,
+.BI "int strfromf(size_t " n ;
+.BI "             char " str "[restrict " n "], size_t " n ,
 .BI "             const char *restrict " format ", float "fp ");"
-.BI "int strfroml(char " str "[restrict ." n "], size_t " n ,
+.BI "int strfroml(size_t " n ;
+.BI "             char " str "[restrict " n "], size_t " n ,
 .BI "             const char *restrict " format ", long double " fp ");"
 .fi
 .P
index d0aaf4ec53e866d42ff8467f74c463f27a01c847..135067d8471f8043d403a22253a587745592eedd 100644 (file)
@@ -25,11 +25,13 @@ Standard C library
 .nf
 .B #include <time.h>
 .P
-.BI "size_t strftime(char " s "[restrict ." max "], size_t " max ,
+.BI "size_t strftime(size_t " max ;
+.BI "                char " s "[restrict " max "], size_t " max ,
 .BI "                const char *restrict " format ,
 .BI "                const struct tm *restrict " tm );
 .P
-.BI "size_t strftime_l(char " s "[restrict ." max "], size_t " max ,
+.BI "size_t strftime_l(size_t " max ;
+.BI "                char " s "[restrict " max "], size_t " max ,
 .BI "                const char *restrict " format ,
 .BI "                const struct tm *restrict " tm ,
 .BI "                locale_t " locale );
index 98db9bd51e4d111eb07236c290c0245c86872d55..58606c8102259f4c110267248e8b0d9ea1ea5bdc 100644 (file)
@@ -16,7 +16,8 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "char *strncat(char *restrict " dst ", const char " src "[restrict ." ssize ],
+.BI "char *strncat(size_t " ssize ;
+.BI "              char *restrict " dst ", const char " src "[restrict " ssize ],
 .BI "              size_t " ssize );
 .fi
 .SH DESCRIPTION
index 1726401f9ba6653b359ecb5deee349c74944f7ba..17de2e19991e9ae490ee0b48344258f3feb9f32a 100644 (file)
@@ -16,7 +16,8 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "size_t strnlen(const char " s [. maxlen "], size_t " maxlen );
+.BI "size_t strnlen(size_t " maxlen ;
+.BI "               const char " s [ maxlen "], size_t " maxlen );
 .fi
 .P
 .RS -4
index 008c15cb6bb06325680a2b7479ee5a73e1cf9e4a..cfc8e2056d99074c93844f02b947b78626714bb9 100644 (file)
@@ -18,8 +18,9 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "size_t strxfrm(char " dest "[restrict ." n "], \
-const char " src "[restrict ." n ],
+.BI "size_t strxfrm(size_t " n ;
+.BI "               char " dest "[restrict " n "], \
+const char " src "[restrict " n ],
 .BI "               size_t " n );
 .fi
 .SH DESCRIPTION
index 84fdc43576c2f7c7bd9e53d044b6531ed17ac054..7e2ecbc5f1712db48952127599a211b6e9c9d066 100644 (file)
@@ -20,7 +20,8 @@ Standard C library
 .BR "#define _XOPEN_SOURCE" "       /* See feature_test_macros(7) */"
 .B #include <unistd.h>
 .P
-.BI "void swab(const void " from "[restrict ." n "], void " to "[restrict ." n ],
+.BI "void swab(ssize_t " n ;
+.BI "          const void " from "[restrict " n "], void " to "[restrict " n ],
 .BI "          ssize_t " n );
 .fi
 .SH DESCRIPTION
index cb417684b84567f951e526ee5dacdaaf7da4d42a..c7eec4516f9d8835960c0ed36b0def282fc403c6 100644 (file)
@@ -17,7 +17,8 @@ Standard C library
 .B #include <unistd.h>
 .P
 .BI "char *ttyname(int " fd );
-.BI "int ttyname_r(int " fd ", char " buf [. size "], size_t " size );
+.BI "int ttyname_r(size_t " size ;
+.BI "              int " fd ", char " buf [ size "], size_t " size );
 .fi
 .SH DESCRIPTION
 The function
index bcd3eee7ffdab25a0472329716784937d61ac609..b2d34f20fd43bc25dd167d9e30c274f0c9268b31 100644 (file)
@@ -28,14 +28,17 @@ Standard C library
 .BI "int fgetc_unlocked(FILE *" stream );
 .BI "int fputc_unlocked(int " c ", FILE *" stream );
 .P
-.BI "size_t fread_unlocked(void " ptr "[restrict ." size " * ." n ],
+.BI "size_t fread_unlocked(size_t " size ", size_t " n ;
+.BI "                      void " ptr "[restrict " size " * " n ],
 .BI "                      size_t " size ", size_t " n ,
 .BI "                      FILE *restrict " stream );
-.BI "size_t fwrite_unlocked(const void " ptr "[restrict ." size " * ." n ],
+.BI "size_t fwrite_unlocked(size_t " size ", size_t " n ;
+.BI "                      const void " ptr "[restrict " size " * " n ],
 .BI "                      size_t " size ", size_t " n ,
 .BI "                      FILE *restrict " stream );
 .P
-.BI "char *fgets_unlocked(char " s "[restrict ." n "], int " n \
+.BI "char *fgets_unlocked(int " n ;
+.BI "                      char " s "[restrict " n "], int " n \
 ", FILE *restrict " stream );
 .BI "int fputs_unlocked(const char *restrict " s ", FILE *restrict " stream );
 .P
@@ -49,7 +52,8 @@ Standard C library
 .BI "wint_t putwc_unlocked(wchar_t " wc ", FILE *" stream );
 .BI "wint_t putwchar_unlocked(wchar_t " wc );
 .P
-.BI "wchar_t *fgetws_unlocked(wchar_t " ws "[restrict ." n "], int " n ,
+.BI "wchar_t *fgetws_unlocked(int " n ;
+.BI "                      wchar_t " ws "[restrict " n "], int " n ,
 .BI "                      FILE *restrict " stream );
 .BI "int fputws_unlocked(const wchar_t *restrict " ws ,
 .BI "                      FILE *restrict " stream );
index c64cddf4e1bf08d0fdd27c18b477070abb82c6db..5bd8b5a95f2dd95c9b9d07e13ba067914b4638ac 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "wchar_t *wcpncpy(wchar_t " dest "[restrict ." n ],
+.BI "wchar_t *wcpncpy(size_t " n ;
+.BI "                 wchar_t " dest "[restrict " n ],
 .BI "                 const wchar_t *restrict " src ,
 .BI "                 size_t " n );
 .fi
index 228c1be6b76bf5f0159e4e323cf0b7003c273e8f..668af07620d1ff311bbeabd72628c2d8d8107a93 100644 (file)
@@ -22,7 +22,8 @@ Standard C library
 .B #include <wchar.h>
 .P
 .BI "int wcscasecmp(const wchar_t *" s1 ", const wchar_t *" s2 );
-.BI "int wcsncasecmp(const wchar_t " s1 [. n "], const wchar_t " s2 [. n "], \
+.BI "int wcsncasecmp(size_t " n ;
+.BI "                const wchar_t " s1 [ n "], const wchar_t " s2 [ n "], \
 size_t " n );
 .fi
 .P
index 75e3b8e934f4f47d2f0175fc6f9048459b98877f..31ae9c2ea87d4e06bfec7bdae6cb963cb38d8b7e 100644 (file)
@@ -19,8 +19,9 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "wchar_t *wcsncat(wchar_t *restrict " dest ,
-.BI "                 const wchar_t " src "[restrict ." n ],
+.BI "wchar_t *wcsncat(size_t " n ;
+.BI "                 wchar_t *restrict " dest ,
+.BI "                 const wchar_t " src "[restrict " n ],
 .BI "                 size_t " n );
 .fi
 .SH DESCRIPTION
index d78316224bdcc1e97c4834780d25160e5466915b..9f7bdefc181b87ae5a6ad941d48e166190848ebf 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "int wcsncmp(const wchar_t " s1 [. n "], const wchar_t " s2 [. n "], \
+.BI "int wcsncmp(size_t " n ;
+.BI "            const wchar_t " s1 [ n "], const wchar_t " s2 [ n "], \
 size_t " n );
 .fi
 .SH DESCRIPTION
index 151251583cfd6bad54bd13bf196df677eae4b079..475c9565c71312561bc3cb7e3716bcd71280ed82 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "wchar_t *wcsncpy(wchar_t " dest "[restrict ." n ],
+.BI "wchar_t *wcsncpy(size_t " n ;
+.BI "                 wchar_t " dest "[restrict " n ],
 .BI "                 const wchar_t *restrict " src ,
 .BI "                 size_t " n );
 .fi
index d363da14b1d0a4c2222a6200a78b4b63805e710b..f50bf9996c3a1a244d34e61bc1caf909e88ba488 100644 (file)
@@ -18,7 +18,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "size_t wcsnlen(const wchar_t " s [. maxlen "], size_t " maxlen );
+.BI "size_t wcsnlen(size_t " maxlen ;
+.BI "               const wchar_t " s [ maxlen "], size_t " maxlen );
 .fi
 .P
 .RS -4
index 47291ff0c57bb6b079b5f446ab31a204767402c3..0a4afe945da807bc9fa56022f012ebef698046df 100644 (file)
@@ -18,7 +18,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "size_t wcsnrtombs(char " dest "[restrict ." size "], \
+.BI "size_t wcsnrtombs(size_t " size ;
+.BI "                  char " dest "[restrict " size "], \
 const wchar_t **restrict " src ,
 .BI "                  size_t " nwc ", size_t " size ", \
 mbstate_t *restrict " ps );
index ad6ee7b45b73fd129f1fa64bab8309631069b5de..4e9e514688e115213f5e5919ad655ff861b0cad7 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "size_t wcsrtombs(char " dest "[restrict ." size "], \
+.BI "size_t wcsrtombs(size_t " size ;
+.BI "                 char " dest "[restrict " size "], \
 const wchar_t **restrict " src ,
 .BI "                 size_t " size ", mbstate_t *restrict " ps );
 .fi
index 85564dc61b14d018156fccaa40533fde5485f2b3..75f1676abc42711a11fd54e98730762e751334e0 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <stdlib.h>
 .P
-.BI "size_t wcstombs(char " dest "[restrict ." n "], \
+.BI "size_t wcstombs(size_t " n ;
+.BI "                char " dest "[restrict " n "], \
 const wchar_t *restrict " src ,
 .BI "                size_t " n );
 .fi
index d4d12d3313339f40d1aa3527fd0fee5191e980e4..7c8e8496ac7ec787bce95523b20d0fe6f6905f1c 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "wchar_t *wmemchr(const wchar_t " s [. n "], wchar_t " c ", size_t " n );
+.BI "wchar_t *wmemchr(size_t " n ;
+.BI "                 const wchar_t " s [ n "], wchar_t " c ", size_t " n );
 .fi
 .SH DESCRIPTION
 The
index f6c114d52346718f298eac5d21f9ef985fed54fa..17571594cc923ad7ee763c7dfa5944fafcbf8fb7 100644 (file)
@@ -18,7 +18,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "int wmemcmp(const wchar_t " s1 [. n "], const wchar_t " s2 [. n "], \
+.BI "int wmemcmp(size_t " n ;
+.BI "            const wchar_t " s1 [ n "], const wchar_t " s2 [ n "], \
 size_t " n );
 .fi
 .SH DESCRIPTION
index 82d0bb454519f4f7f97abe44f6c2e4f93ad9b5d6..324ed0dac031fa0ee1f3e4622c7700d4ee0d20f3 100644 (file)
@@ -19,8 +19,9 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "wchar_t *wmemcpy(wchar_t " dest "[restrict ." n ],
-.BI "                 const wchar_t " src "[restrict ." n ],
+.BI "wchar_t *wmemcpy(size_t " n ;
+.BI "                 wchar_t " dest "[restrict " n ],
+.BI "                 const wchar_t " src "[restrict " n ],
 .BI "                 size_t " n );
 .fi
 .SH DESCRIPTION
index 6a63572c492a6b472b1c6aae08caaafa8c6f8d7b..d594e4ecad9549f581c045fe42284915d2415463 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "wchar_t *wmemmove(wchar_t " dest [. n "], const wchar_t " src [. n "], \
+.BI "wchar_t *wmemmove(size_t " n ;
+.BI "                  wchar_t " dest [ n "], const wchar_t " src [ n "], \
 size_t " n );
 .fi
 .SH DESCRIPTION
index edb17eeb1a7af1c901415955eb1a5ae00e3d46e5..e463489373af2e9bd75b151c3d0e9df7837617d4 100644 (file)
@@ -19,7 +19,8 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "wchar_t *wmemset(wchar_t " wcs [. n "], wchar_t " wc ", size_t " n );
+.BI "wchar_t *wmemset(size_t " n ;
+.BI "                 wchar_t " wcs [ n "], wchar_t " wc ", size_t " n );
 .fi
 .SH DESCRIPTION
 The
index dbb39a0d6d52a936b20db58990106c714464efeb..f41b15538d75b24b202e6580a375baae3657a5ed 100644 (file)
@@ -24,13 +24,15 @@ Standard C library
 .BI "int wprintf(const wchar_t *restrict " format ", ...);"
 .BI "int fwprintf(FILE *restrict " stream ,
 .BI "             const wchar_t *restrict " format ", ...);"
-.BI "int swprintf(wchar_t " wcs "[restrict ." maxlen "], size_t " maxlen ,
+.BI "int swprintf(size_t " n ;
+.BI "             wchar_t " wcs "[restrict " n "], size_t " n ,
 .BI "             const wchar_t *restrict " format ", ...);"
 .P
 .BI "int vwprintf(const wchar_t *restrict " format ", va_list " args );
 .BI "int vfwprintf(FILE *restrict " stream ,
 .BI "             const wchar_t *restrict " format ", va_list " args );
-.BI "int vswprintf(wchar_t " wcs "[restrict ." maxlen "], size_t " maxlen ,
+.BI "int vswprintf(size_t " n ;
+.BI "             wchar_t " wcs "[restrict " n "], size_t " n ,
 .BI "             const wchar_t *restrict " format ", va_list " args );
 .fi
 .P
@@ -93,7 +95,7 @@ perform wide-character output
 to an array of wide characters.
 The programmer must ensure that there is
 room for at least
-.I maxlen
+.I n
 wide
 characters at
 .IR wcs .
@@ -122,7 +124,7 @@ The output consists of wide characters, not bytes.
 and
 .BR vswprintf ()
 take a
-.I maxlen
+.I n
 argument,
 .BR sprintf (3)
 and
@@ -132,7 +134,7 @@ do not.
 and
 .BR vsnprintf (3)
 take a
-.I maxlen
+.I n
 argument, but these functions do not return \-1 upon
 buffer overflow on Linux.)
 .P
index 6a17de4284a1a40ac7385b9e7ad8b87e50340265..bc1ae9675e5b0f18ee8a49ef7e7b21327e5dd952 100644 (file)
@@ -30,13 +30,16 @@ strncat
 .BI "char *stpecpy(char *" dst ", char " end "[0], const char *restrict " src );
 .P
 // Copy/catenate a string with truncation.
-.BI "ssize_t strtcpy(char " dst "[restrict ." dsize "], \
+.BI "ssize_t strtcpy(size_t " dsize ;
+.BI "               char " dst "[restrict " dsize "], \
 const char *restrict " src ,
 .BI "               size_t " dsize );
-.BI "size_t strlcpy(char " dst "[restrict ." dsize "], \
+.BI "size_t strlcpy(size_t " dsize ;
+.BI "               char " dst "[restrict " dsize "], \
 const char *restrict " src ,
 .BI "               size_t " dsize );
-.BI "size_t strlcat(char " dst "[restrict ." dsize "], \
+.BI "size_t strlcat(size_t " dsize ;
+.BI "               char " dst "[restrict " dsize "], \
 const char *restrict " src ,
 .BI "               size_t " dsize );
 .fi
@@ -45,10 +48,12 @@ const char *restrict " src ,
 .nf
 // Fill a fixed-size buffer with characters from a string
 // and pad with null bytes.
-.BI "char *strncpy(char " dst "[restrict ." dsize "], \
+.BI "char *strncpy(size_t " dsize ;
+.BI "              char " dst "[restrict " dsize "], \
 const char *restrict " src ,
 .BI "               size_t " dsize );
-.BI "char *stpncpy(char " dst "[restrict ." dsize "], \
+.BI "char *stpncpy(size_t " dsize ;
+.BI "              char " dst "[restrict " dsize "], \
 const char *restrict " src ,
 .BI "               size_t " dsize );
 .P
@@ -59,18 +64,21 @@ const char *restrict " src ,
 .I stpcpy(mempcpy(dst, src, strnlen(src, NITEMS(src))), \[dq]\[dq]);
 .P
 // Catenate a null-padded character sequence into a string.
-.BI "char *strncat(char *restrict " dst ", const char " src "[restrict ." ssize ],
+.BI "char *strncat(size_t " ssize ;
+.BI "               char *restrict " dst ", const char " src "[restrict " ssize ],
 .BI "               size_t " ssize );
 .P
 // Duplicate a null-padded character sequence into a string.
-.BI "char *strndup(const char " src [. ssize "], size_t " ssize );
+.BI "char *strndup(size_t " ssize ;
+.BI "               const char " src [ ssize "], size_t " ssize );
 .fi
 .\" ----- SYNOPSIS :: Length-bounded character sequences --------------/
 .SS Length-bounded character sequences
 .nf
 // Chain-copy a length-bounded character sequence.
-.BI "void *mempcpy(void " dst "[restrict ." len "], \
-const void " src "[restrict ." len ],
+.BI "void *mempcpy(size_t " len ;
+.BI "               void " dst "[restrict " len "], \
+const void " src "[restrict " len ],
 .BI "               size_t " len );
 .P
 // Chain-copy a length-bounded character sequence into a string.