summaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-02-22 01:07:27 +0000
committerUlrich Drepper <drepper@redhat.com>1997-02-22 01:07:27 +0000
commit655fe3107058017a6d4e618be03b91b119457354 (patch)
treece2ab74f39dec280e51e6cb3b34dcd231f85d47d /sysdeps/unix/bsd
parent9652be3de8913e528f86d9d4d2643db6c472f9fe (diff)
downloadglibc-655fe3107058017a6d4e618be03b91b119457354.tar
glibc-655fe3107058017a6d4e618be03b91b119457354.tar.gz
glibc-655fe3107058017a6d4e618be03b91b119457354.tar.bz2
glibc-655fe3107058017a6d4e618be03b91b119457354.zip
update from main archive 970221
Diffstat (limited to 'sysdeps/unix/bsd')
-rw-r--r--sysdeps/unix/bsd/sigsuspend.c30
-rw-r--r--sysdeps/unix/bsd/syscalls.list1
2 files changed, 16 insertions, 15 deletions
diff --git a/sysdeps/unix/bsd/sigsuspend.c b/sysdeps/unix/bsd/sigsuspend.c
index 4c045aa663..d416a5f6c7 100644
--- a/sysdeps/unix/bsd/sigsuspend.c
+++ b/sysdeps/unix/bsd/sigsuspend.c
@@ -1,20 +1,20 @@
-/* Copyright (C) 1991, 1996 Free Software Foundation, Inc.
-This file is part of the GNU C Library.
+/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
-The GNU C Library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public License as
-published by the Free Software Foundation; either version 2 of the
-License, or (at your option) any later version.
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
-The GNU C Library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Library General Public License for more details.
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
-You should have received a copy of the GNU Library General Public
-License along with the GNU C Library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA. */
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
#include <errno.h>
#include <signal.h>
@@ -42,5 +42,5 @@ sigsuspend (set)
if (__sigismember (set, sig))
mask |= sigmask (sig);
- return __sigpause (mask);
+ return __sigpause (mask, 0);
}
diff --git a/sysdeps/unix/bsd/syscalls.list b/sysdeps/unix/bsd/syscalls.list
index e84819dc1f..086bf4fb45 100644
--- a/sysdeps/unix/bsd/syscalls.list
+++ b/sysdeps/unix/bsd/syscalls.list
@@ -5,6 +5,7 @@ getdents - getdirentries 4 __getdirentries getdirentries
getdtsz - getdtablesize 0 __getdtablesize getdtablesize
getpagesize - getpagesize 0 __getpagesize getpagesize
killpg - killpg 2 killpg
+msync - msync 2 __libc_msync msync
sigblock - sigblock 1 __sigblock sigblock
sigpause - sigpause 1 __sigpause sigpause
sigsetmask - sigsetmask 1 __sigsetmask sigsetmask