waio.h: moved some signal handler defs here from wposix
This was SVN commit r1778.
This commit is contained in:
parent
9b7af0ce08
commit
468fb35ab5
@ -22,7 +22,32 @@
|
||||
// should be sector aligned (otherwise, buffer is copied).
|
||||
|
||||
|
||||
#include "types.h"
|
||||
#include "lib/types.h"
|
||||
#include "wposix_types.h"
|
||||
|
||||
|
||||
//
|
||||
// <signal.h>
|
||||
//
|
||||
|
||||
union sigval
|
||||
{
|
||||
int sival_int; // Integer signal value.
|
||||
void* sival_ptr; // Pointer signal value.
|
||||
};
|
||||
|
||||
struct sigevent
|
||||
{
|
||||
int sigev_notify; // notification mode
|
||||
int sigev_signo; // signal number
|
||||
union sigval sigev_value; // signal value
|
||||
void(*sigev_notify_function)(union sigval);
|
||||
};
|
||||
|
||||
|
||||
//
|
||||
// <aio.h>
|
||||
//
|
||||
|
||||
struct aiocb
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user