Update Alpha bits/sigaction.h for XPG7.

This commit is contained in:
Matt Turner 2010-01-30 00:21:08 +00:00 committed by Joseph Myers
parent 54faff0517
commit 1480094d1f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-01-12 Matt Turner <mattst88@gmail.com>
* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define
SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
2010-01-12 Matt Turner <mattst88@gmail.com>
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECTORY,

View File

@ -1,5 +1,5 @@
/* The proper definitions for Linux/Alpha sigaction.
Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
Copyright (C) 1996, 1997, 1999, 2000, 2010 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
@ -54,6 +54,8 @@ struct sigaction
three arguments instead of one. */
#if defined __USE_UNIX98 || defined __USE_MISC
# define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
#endif
#if defined __USE_UNIX98 || defined __USE_MISC || defined __USE_XOPEN2K8
# define SA_RESTART 0x00000002 /* Restart syscall on signal return. */
# define SA_NODEFER 0x00000008 /* Don't automatically block the signal
when its handler is being executed. */