wcstombs.3: SYNOPSIS: Use 'restrict' in prototypes
commit7ce7d2ad9b7960367e9ca52ef34c08b516f8fe87
authorAlejandro Colomar <alx.manpages@gmail.com>
Thu, 11 Mar 2021 22:33:28 +0000 (11 23:33 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 14 Mar 2021 20:55:58 +0000 (14 21:55 +0100)
tree307f8b7195db33bf330c1eff3240382c67fb1aa0
parent21a4b17edd15badf2b5794c01a5c0fdfef1bdd32
wcstombs.3: SYNOPSIS: Use 'restrict' in prototypes

Both POSIX and glibc use 'restrict' in wcstombs().
Let's use it here too.

.../glibc$ grep_glibc_prototype wcstombs
stdlib/stdlib.h:937:
extern size_t wcstombs (char *__restrict __s,
const wchar_t *__restrict __pwcs, size_t __n)
     __THROW
  __attr_access ((__write_only__, 1, 3)) __attr_access ((__read_only__, 2));
.../glibc$

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/wcstombs.3