summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-01 20:52:04 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-01 20:52:04 +0000
commit261df086e01887a97ca684758bff1cf6007c2084 (patch)
treefe1d8243657dd68d6389ce4504191237a40dba07
parent2c1efeaf34afad8a9ebb85a38dd6bd4000199f71 (diff)
downloadglibc-261df086e01887a97ca684758bff1cf6007c2084.tar.gz
Change posix_spawnattr_getdefault and posix_spawnattr_setdefault to posix_spawnattr_getsigdefault and posix_spawnattr_setsigdefault respectively.
-rw-r--r--posix/Versions2
-rw-r--r--posix/spawn.h9
-rw-r--r--posix/spawnattr_getdefault.c4
-rw-r--r--posix/spawnattr_setdefault.c4
4 files changed, 10 insertions, 9 deletions
diff --git a/posix/Versions b/posix/Versions
index 92c51b5e33..164d187469 100644
--- a/posix/Versions
+++ b/posix/Versions
@@ -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;
diff --git a/posix/spawn.h b/posix/spawn.h
index ea6dbf2772..9487cbd179 100644
--- a/posix/spawn.h
+++ b/posix/spawn.h
@@ -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,
diff --git a/posix/spawnattr_getdefault.c b/posix/spawnattr_getdefault.c
index e51567ba63..0b3edf9424 100644
--- a/posix/spawnattr_getdefault.c
+++ b/posix/spawnattr_getdefault.c
@@ -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));
diff --git a/posix/spawnattr_setdefault.c b/posix/spawnattr_setdefault.c
index 334ed8443e..12c4540651 100644
--- a/posix/spawnattr_setdefault.c
+++ b/posix/spawnattr_setdefault.c
@@ -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));