Nicer parameter names in sys/select.h.
Added a comment in sys/time.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1779 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
089a062916
commit
2dc3fee59d
@ -47,10 +47,10 @@ typedef struct fd_set {
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int pselect(int nbits, struct fd_set *rbits, struct fd_set *wbits, struct fd_set *ebits,
|
extern int pselect(int numBits, struct fd_set *readBits, struct fd_set *writeBits,
|
||||||
const struct timespec *timeout, const sigset_t *sigMask);
|
struct fd_set *errorBits, const struct timespec *timeout, const sigset_t *sigMask);
|
||||||
extern int select(int nbits, struct fd_set *rbits, struct fd_set *wbits,
|
extern int select(int numBits, struct fd_set *readBits, struct fd_set *writeBits,
|
||||||
struct fd_set *ebits, struct timeval *timeout);
|
struct fd_set *errorBits, struct timeval *timeout);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
|
|
||||||
struct timeval {
|
struct timeval {
|
||||||
time_t tv_sec;
|
time_t tv_sec; /* seconds */
|
||||||
suseconds_t tv_usec;
|
suseconds_t tv_usec; /* microseconds */
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user