diff options
author | kib <kib@FreeBSD.org> | 2011-02-20 09:52:29 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-02-20 09:52:29 +0000 |
commit | 7983bf570622e24915aee7e31360a06d4748e13e (patch) | |
tree | 49484adb699c86544372e13ed0833466fd7d7d3e | |
parent | 7309a9eb12179d7e199cb36907ea2ff0549a5b98 (diff) | |
download | FreeBSD-src-7983bf570622e24915aee7e31360a06d4748e13e.zip FreeBSD-src-7983bf570622e24915aee7e31360a06d4748e13e.tar.gz |
Add restrict keyword to pthread_sigmask prototype and manpage.
MFC after: 1 week
-rw-r--r-- | include/signal.h | 3 | ||||
-rw-r--r-- | share/man/man3/pthread_sigmask.3 | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/signal.h b/include/signal.h index 4a4cd17..32b9e6b 100644 --- a/include/signal.h +++ b/include/signal.h @@ -69,7 +69,8 @@ int raise(int); #if __POSIX_VISIBLE || __XSI_VISIBLE int kill(__pid_t, int); int pthread_kill(__pthread_t, int); -int pthread_sigmask(int, const __sigset_t *, __sigset_t *); +int pthread_sigmask(int, const __sigset_t * __restrict, + __sigset_t * __restrict); int sigaction(int, const struct sigaction * __restrict, struct sigaction * __restrict); int sigaddset(sigset_t *, int); diff --git a/share/man/man3/pthread_sigmask.3 b/share/man/man3/pthread_sigmask.3 index c412543..013ba7c 100644 --- a/share/man/man3/pthread_sigmask.3 +++ b/share/man/man3/pthread_sigmask.3 @@ -26,7 +26,7 @@ .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $FreeBSD$ -.Dd April 27, 2000 +.Dd February 19, 2011 .Dt PTHREAD_SIGMASK 3 .Os .Sh NAME @@ -38,7 +38,8 @@ .In pthread.h .In signal.h .Ft int -.Fn pthread_sigmask "int how" "const sigset_t *set" "sigset_t *oset" +.Fn pthread_sigmask "int how" "const sigset_t * restrict set" \ + "sigset_t * restrict oset" .Sh DESCRIPTION The .Fn pthread_sigmask |