]> git.ipfire.org Git - thirdparty/man-pages.git/commit
timer_create.2: SYNOPSIS: Use 'restrict' in prototypes
authorAlejandro Colomar <alx.manpages@gmail.com>
Sat, 13 Feb 2021 23:10:23 +0000 (00:10 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 14 Feb 2021 07:53:59 +0000 (08:53 +0100)
commit3b184f9c85355088ed2bf19a088cb69a6ec32bb4
tree41ddff4f3e96564f453189b50088f1d71025ad71
parentcaed1954a1597c7e048b6b2f424b687ac1c070ef
timer_create.2: SYNOPSIS: Use 'restrict' in prototypes

POSIX specifies that the parameters of timer_create()
shall be 'restrict'.  Glibc uses 'restrict' too.
Let's use it here too.

......

.../glibc$ grep_glibc_prototype timer_create
time/time.h:234:
extern int timer_create (clockid_t __clock_id,
 struct sigevent *__restrict __evp,
 timer_t *__restrict __timerid) __THROW;
.../glibc$

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/timer_create.2