Correct comment for SA_RESTART.

This commit is contained in:
Ulrich Drepper 1997-08-14 01:53:36 +00:00
parent 135eda5312
commit 17cf8c5c98
5 changed files with 44 additions and 44 deletions

View File

@ -1,5 +1,5 @@
/* Structure and constant definitions for sigaction et al. OSF/1 version.
Copyright (C) 1993, 1996 Free Software Foundation, Inc.
Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
@ -33,9 +33,9 @@ struct sigaction
/* Bits in `sa_flags'. */
#ifdef __USE_BSD
#define SA_ONSTACK 0x1 /* Take signal on signal stack. */
#define SA_RESTART 0x2 /* Don't restart syscall on signal return. */
#define SA_DISABLE 0x4 /* Disable alternate signal stack. */
# define SA_ONSTACK 0x1 /* Take signal on signal stack. */
# define SA_RESTART 0x2 /* Restart syscall on signal return. */
# define SA_DISABLE 0x4 /* Disable alternate signal stack. */
#endif
#define SA_NOCLDSTOP 0x4 /* Don't send SIGCHLD when children stop. */

View File

@ -31,21 +31,21 @@ struct sigaction
};
/* Bits in `sa_flags'. */
#define SA_NOCLDSTOP 0x00000004 /* Don't send SIGCHLD when children stop. */
#define SA_NOCLDSTOP 0x00000004 /* Don't send SIGCHLD when children stop. */
#ifdef __USE_MISC
#define SA_STACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
#define SA_RESTART 0x00000002 /* Don't restart syscall on signal return. */
#define SA_INTERRUPT 0x20000000 /* Historical no-op. */
#define SA_NOMASK 0x00000008 /* Don't automatically block the signal when
its handler is being executed. */
#define SA_ONESHOT 0x00000010 /* Reset to SIG_DFL on entry to handler. */
# define SA_STACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
# define SA_RESTART 0x00000002 /* Restart syscall on signal return. */
# define SA_INTERRUPT 0x20000000 /* Historical no-op. */
# define SA_NOMASK 0x00000008 /* Don't automatically block the signal
when its handler is being executed. */
# define SA_ONESHOT 0x00000010 /* Reset to SIG_DFL on entry to handler. */
/* Some aliases for the SA_ constants. */
#define SA_NODEFER SA_NOMASK
#define SA_RESETHAND SA_ONESHOT
# define SA_NODEFER SA_NOMASK
# define SA_RESETHAND SA_ONESHOT
#endif
/* Values for the HOW argument to `sigprocmask'. */
#define SIG_BLOCK 1 /* Block signals. */
#define SIG_UNBLOCK 2 /* Unblock signals. */
#define SIG_SETMASK 3 /* Set the set of blocked signals. */
#define SIG_BLOCK 1 /* Block signals. */
#define SIG_UNBLOCK 2 /* Unblock signals. */
#define SIG_SETMASK 3 /* Set the set of blocked signals. */

View File

@ -39,24 +39,24 @@ struct sigaction
};
/* Bits in `sa_flags'. */
#define SA_NOCLDSTOP 1 /* Don't send SIGCHLD when children stop. */
#define SA_NOCLDSTOP 1 /* Don't send SIGCHLD when children stop. */
#ifdef __USE_MISC
#define SA_STACK 0x08000000 /* Use signal stack by using `sa_restorer'. */
#define SA_RESTART 0x10000000 /* Don't restart syscall on signal return. */
#define SA_INTERRUPT 0x20000000 /* Historical no-op. */
#define SA_NODEFER 0x40000000 /* Don't automatically block the signal when
its handler is being executed. */
#define SA_RESETHAND 0x80000000 /* Reset to SIG_DFL on entry to handler. */
# define SA_STACK 0x08000000 /* Use signal stack by using `sa_restorer'. */
# define SA_RESTART 0x10000000 /* Restart syscall on signal return. */
# define SA_INTERRUPT 0x20000000 /* Historical no-op. */
# define SA_NODEFER 0x40000000 /* Don't automatically block the signal when
its handler is being executed. */
# define SA_RESETHAND 0x80000000 /* Reset to SIG_DFL on entry to handler. */
/* Some aliases for the SA_ constants. */
#define SA_NOMASK SA_NODEFER
#define SA_ONESHOT SA_RESETHAND
# define SA_NOMASK SA_NODEFER
# define SA_ONESHOT SA_RESETHAND
#endif
/* Values for the HOW argument to `sigprocmask'. */
#define SIG_NOP 0 /* 0 is unused to catch errors */
#define SIG_BLOCK 1 /* Block signals. */
#define SIG_UNBLOCK 2 /* Unblock signals. */
#define SIG_SETMASK 3 /* Set the set of blocked signals. */
#define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility:
#define SIG_NOP 0 /* 0 is unused to catch errors */
#define SIG_BLOCK 1 /* Block signals. */
#define SIG_UNBLOCK 2 /* Unblock signals. */
#define SIG_SETMASK 3 /* Set the set of blocked signals. */
#define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility:
set only the low 32 bit of the sigset. */

View File

@ -31,14 +31,14 @@ struct sigaction
/* Bits in `sa_flags'. */
#ifdef __USE_MISC
#define SA_ONSTACK 0x1 /* Take signal on signal stack. */
#define SA_RESETHAND 0x2 /* Reset signal handler when signal caught. */
#define SA_NODEFER 0x4 /* Don't block signal while catching it. */
#define SA_RESTART 0x8 /* Don't restart syscall on signal return. */
#define SA_SIGINFO 0x10 /* Extended signal handling. */
#define SA_NOCLDWAIT 0x20 /* Don't create zombies. */
#define SA_COMPAT 0x80 /* Internal flag for old signal catchers. */
#define SA_DISABLE 0x100 /* Disable alternate signal stack. */
# define SA_ONSTACK 0x1 /* Take signal on signal stack. */
# define SA_RESETHAND 0x2 /* Reset signal handler when signal caught. */
# define SA_NODEFER 0x4 /* Don't block signal while catching it. */
# define SA_RESTART 0x8 /* Restart syscall on signal return. */
# define SA_SIGINFO 0x10 /* Extended signal handling. */
# define SA_NOCLDWAIT 0x20 /* Don't create zombies. */
# define SA_COMPAT 0x80 /* Internal flag for old signal catchers. */
# define SA_DISABLE 0x100 /* Disable alternate signal stack. */
#endif
#define SA_NOCLDSTOP 0x40 /* Don't send SIGCHLD when children stop. */

View File

@ -35,13 +35,13 @@ struct sigaction
/* Bits in `sa_flags'. */
#ifdef __USE_MISC
#define SA_ONSTACK 0x1 /* Take signal on signal stack. */
#define SA_RESETHAND 0x2 /* Reset to SIG_DFL on entry to handler. */
#define SA_RESTART 0x4 /* Don't restart syscall on signal return. */
#define SA_SIGINFO 0x8 /* Provide additional info to the handler. */
#define SA_NODEFER 0x10 /* Don't automatically block the signal when
# define SA_ONSTACK 0x1 /* Take signal on signal stack. */
# define SA_RESETHAND 0x2 /* Reset to SIG_DFL on entry to handler. */
# define SA_RESTART 0x4 /* Restart syscall on signal return. */
# define SA_SIGINFO 0x8 /* Provide additional info to the handler. */
# define SA_NODEFER 0x10 /* Don't automatically block the signal when
its handler is being executed. */
#define SA_NOCLDWAIT 0x10000 /* Don't save zombie processes. */
# define SA_NOCLDWAIT 0x10000 /* Don't save zombie processes. */
#endif
#define SA_NOCLDSTOP 0x20000 /* Don't send SIGCHLD when children stop. */