diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-02-24 15:43:08 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-03-03 23:12:22 +0100 |
| commit | 1ac0a9ccbc95f7be947ce53db65f90037c85173c (patch) | |
| tree | 6ecf50f6ec4d284f48fe4054e337b4f83185cdad /man3/sem_getvalue.3 | |
| parent | f61d0340cc6bdce2fb3b442e067079c27d393093 (diff) | |
| download | man-pages-1ac0a9ccbc95f7be947ce53db65f90037c85173c.tar.gz | |
fopen.3: SYNOPSIS: Use 'restrict' in prototypes
Both POSIX and glibc use 'restrict' for some of these functions.
Let's use it here too.
glibc:
============================= fopen
libio/stdio.h:246:
FILE *fopen (const char *restrict filename,
const char *restrict modes) wur;
============================= fdopen
libio/stdio.h:279:
FILE *fdopen (int fd, const char *modes) THROW wur;
============================= freopen
libio/stdio.h:252:
FILE *freopen (const char *restrict filename,
const char *restrict modes,
FILE *restrict stream) wur;
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/sem_getvalue.3')
0 files changed, 0 insertions, 0 deletions
