1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

update from main archive 960105

This commit is contained in:
Ulrich Drepper
1997-01-06 22:07:28 +00:00
parent 6f9e7002f3
commit df4ef2ab9c
131 changed files with 5591 additions and 1845 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996 Free Software Foundation, Inc.
/* Copyright (C) 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
@ -20,7 +20,7 @@
#include <stddef.h>
#include <unistd.h>
extern int __syscall_sigsuspend (int, unsigned long, unsigned long);
extern int __syscall_sigsuspend (int, unsigned long int, unsigned long int);
/* Change the set of blocked signals to SET,
wait until a signal arrives, and restore the set of blocked signals. */
@ -28,6 +28,10 @@ int
__sigsuspend (set)
const sigset_t *set;
{
return __syscall_sigsuspend (0, 0, *set);
/* XXX This will have to be changed once the kernel knows about
larger sigsets. */
unsigned long int word = set->__val[0];
return __syscall_sigsuspend (0, 0, word);
}
weak_alias (__sigsuspend, sigsuspend)