diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-04-30 10:42:43 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-04-30 10:42:43 -0700 |
commit | ff026950e280bc3e9487b41b460fb31bc5b57721 (patch) | |
tree | 007d0b1ae8fb47ffc62972820c762f1810612899 /include/sys | |
parent | 051be01f6b41a1466b07ae4bd7f5894a8ec5fe67 (diff) | |
download | glibc-ff026950e280bc3e9487b41b460fb31bc5b57721.tar glibc-ff026950e280bc3e9487b41b460fb31bc5b57721.tar.gz glibc-ff026950e280bc3e9487b41b460fb31bc5b57721.tar.bz2 glibc-ff026950e280bc3e9487b41b460fb31bc5b57721.zip |
Add a C wrapper for prctl [BZ #25896]
Add a C wrapper to pass arguments in
/* Control process execution. */
extern int prctl (int __option, ...) __THROW;
to prctl syscall:
extern int prctl (int, unsigned long int, unsigned long int,
unsigned long int, unsigned long int);
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/prctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/prctl.h b/include/sys/prctl.h index 0920ed642b..d33f3a290e 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -4,6 +4,7 @@ # ifndef _ISOMAC extern int __prctl (int __option, ...); +libc_hidden_proto (__prctl) # endif /* !_ISOMAC */ #endif |