mirror of https://github.com/mkerrisk/man-pages
dlinfo.3: SYNOPSIS: Use 'restrict' in prototypes
Glibc uses 'restrict' for dlinfo(). Let's use it here too. ...... .../glibc$ grep_glibc_prototype dlinfo dlfcn/dlfcn.h:123: extern int dlinfo (void *__restrict __handle, int __request, void *__restrict __arg) __THROW __nonnull ((1, 3)); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0300d62fc1
commit
fbea610b4a
|
@ -31,7 +31,8 @@ dlinfo \- obtain information about a dynamically loaded object
|
|||
.B #include <link.h>
|
||||
.B #include <dlfcn.h>
|
||||
.PP
|
||||
.BR "int dlinfo(void *" handle ", int " request ", void *" info );
|
||||
.BR "int dlinfo(void *restrict " handle ", int " request \
|
||||
", void *restrict " info );
|
||||
.PP
|
||||
Link with \fI\-ldl\fP.
|
||||
.fi
|
||||
|
|
Loading…
Reference in New Issue