Make stack_t typedef generally available
* libc/include/sys/signal.h (stack_t): Make typedef generally available. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
431b28c196
commit
f992ae6f4d
|
@ -1,3 +1,8 @@
|
|||
2015-04-01 Jon TURNEY <jon.turney@dronecode.org.uk>
|
||||
|
||||
* libc/include/sys/signal.h (stack_t): Make typedef generally
|
||||
available.
|
||||
|
||||
2015-04-01 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* libc/stdlib/wctomb_r.c (__utf8_wctomb): Fix check for handling a
|
||||
|
|
|
@ -125,15 +125,6 @@ struct sigaction {
|
|||
*/
|
||||
#define SS_ONSTACK 0x1
|
||||
#define SS_DISABLE 0x2
|
||||
|
||||
/*
|
||||
* Structure used in sigaltstack call.
|
||||
*/
|
||||
typedef struct sigaltstack {
|
||||
void *ss_sp; /* Stack base or pointer. */
|
||||
int ss_flags; /* Flags. */
|
||||
size_t ss_size; /* Stack size. */
|
||||
} stack_t;
|
||||
#endif
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
|
@ -151,6 +142,15 @@ struct sigaction
|
|||
};
|
||||
#endif /* defined(__rtems__) */
|
||||
|
||||
/*
|
||||
* Structure used in sigaltstack call.
|
||||
*/
|
||||
typedef struct sigaltstack {
|
||||
void *ss_sp; /* Stack base or pointer. */
|
||||
int ss_flags; /* Flags. */
|
||||
size_t ss_size; /* Stack size. */
|
||||
} stack_t;
|
||||
|
||||
#define SIG_SETMASK 0 /* set mask with sigprocmask() */
|
||||
#define SIG_BLOCK 1 /* set of signals to block */
|
||||
#define SIG_UNBLOCK 2 /* set of signals to, well, unblock */
|
||||
|
|
Loading…
Reference in New Issue