|
|
| version 1.4, 2003/08/20 07:31:21 | version 1.5, 2004/04/10 00:48:06 |
|---|---|
| Line 39 | Line 39 |
| #define _SYS_SELECT_H_ | #define _SYS_SELECT_H_ |
| #include <sys/event.h> /* for struct klist */ | #include <sys/event.h> /* for struct klist */ |
| #include <net/netisr.h> /* for struct notifymsglist */ | |
| /* | /* |
| * Used to maintain information about processes that wish to be | * Used to maintain information about processes that wish to be |
| * notified when I/O becomes possible. | * notified when I/O becomes possible. |
| */ | */ |
| struct selinfo { | struct selinfo { |
| pid_t si_pid; /* process to be notified */ | pid_t si_pid; /* process to be notified */ |
| struct klist si_note; /* kernel note list */ | struct klist si_note; /* kernel note list */ |
| short si_flags; /* see below */ | struct notifymsglist si_mlist; /* list of pending predicate messages */ |
| short si_flags; /* see below */ | |
| }; | }; |
| #define SI_COLL 0x0001 /* collision occurred */ | #define SI_COLL 0x0001 /* collision occurred */ |