Change posix_spawnattr_getdefault and posix_spawnattr_setdefault to posix_spawnattr_getsigdefault and posix_spawnattr_setsigdefault respectively.

This commit is contained in:
Ulrich Drepper 2000-05-01 20:52:04 +00:00
parent 2c1efeaf34
commit 261df086e0
4 changed files with 10 additions and 9 deletions

View File

@ -98,7 +98,7 @@ libc {
posix_spawn_file_actions_addclose; posix_spawn_file_actions_addopen;
posix_spawn_file_actions_adddup2;
posix_spawnattr_init; posix_spawnattr_destroy;
posix_spawnattr_getdefault; posix_spawnattr_setdefault;
posix_spawnattr_getsigdefault; posix_spawnattr_setsigdefault;
posix_spawnattr_getflags; posix_spawnattr_setflags;
posix_spawnattr_getpgroup; posix_spawnattr_setpgroup;
posix_spawnattr_setsigmask; posix_spawnattr_getsigmask;

View File

@ -83,12 +83,13 @@ extern int posix_spawnattr_destroy (posix_spawnattr_t *__attr) __THROW;
/* Store signal mask for signals with default handling from ATTR in
SIGDEFAULT. */
extern int posix_spawnattr_getdefault (__const posix_spawnattr_t *__attr,
sigset_t *__sigdefault) __THROW;
extern int posix_spawnattr_getsigdefault (__const posix_spawnattr_t *__attr,
sigset_t *__sigdefault) __THROW;
/* Set signal mask for signals with default handling in ATTR to SIGDEFAULT. */
extern int posix_spawnattr_setdefault (posix_spawnattr_t *__attr,
__const sigset_t *__sigdefault) __THROW;
extern int posix_spawnattr_setsigdefault (posix_spawnattr_t *__attr,
__const sigset_t *__sigdefault)
__THROW;
/* Store signal mask for the new process from ATTR in SIGMASK. */
extern int posix_spawnattr_getsigmask (__const posix_spawnattr_t *__attr,

View File

@ -22,8 +22,8 @@
/* Store signal mask for signals with default handling from ATTR in
SIGDEFAULT. */
int
posix_spawnattr_getdefault (const posix_spawnattr_t *attr,
sigset_t *sigdefault)
posix_spawnattr_getsigdefault (const posix_spawnattr_t *attr,
sigset_t *sigdefault)
{
/* Copy the sigset_t data to the user buffer. */
memcpy (sigdefault, &attr->__sd, sizeof (sigset_t));

View File

@ -21,8 +21,8 @@
/* Set signal mask for signals with default handling in ATTR to SIGDEFAULT. */
int
posix_spawnattr_setdefault (posix_spawnattr_t *attr,
const sigset_t *sigdefault)
posix_spawnattr_setsigdefault (posix_spawnattr_t *attr,
const sigset_t *sigdefault)
{
/* Copy the sigset_t data to the user buffer. */
memcpy (&attr->__sd, sigdefault, sizeof (sigset_t));