* libc/include/sys/signal.h (_sig_func_ptr): Define with int parameter
per POSIX. Explain in comment.
This commit is contained in:
parent
6d9b9e6b0c
commit
060e5c9785
|
@ -1,3 +1,8 @@
|
||||||
|
2011-04-19 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* libc/include/sys/signal.h (_sig_func_ptr): Define with int parameter
|
||||||
|
per POSIX. Explain in comment.
|
||||||
|
|
||||||
2011-04-15 Eric Blake <eblake@redhat.com>
|
2011-04-15 Eric Blake <eblake@redhat.com>
|
||||||
|
|
||||||
* libc/string/strchrnul.c (strchrnul): Fix strchrnul.
|
* libc/string/strchrnul.c (strchrnul): Fix strchrnul.
|
||||||
|
|
|
@ -76,11 +76,12 @@ typedef struct {
|
||||||
*
|
*
|
||||||
* (1) Routines stored in sa_handler should take a single int as
|
* (1) Routines stored in sa_handler should take a single int as
|
||||||
* their argument although the POSIX standard does not require this.
|
* their argument although the POSIX standard does not require this.
|
||||||
|
* This is not longer true since at least POSIX.1-2008
|
||||||
* (2) The fields sa_handler and sa_sigaction may overlap, and a conforming
|
* (2) The fields sa_handler and sa_sigaction may overlap, and a conforming
|
||||||
* application should not use both simultaneously.
|
* application should not use both simultaneously.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef void (*_sig_func_ptr)();
|
typedef void (*_sig_func_ptr)(int);
|
||||||
|
|
||||||
struct sigaction {
|
struct sigaction {
|
||||||
int sa_flags; /* Special flags to affect behavior of signal */
|
int sa_flags; /* Special flags to affect behavior of signal */
|
||||||
|
|
Loading…
Reference in New Issue