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:
Axel Dörfler 2002-10-30 02:28:09 +00:00
parent 089a062916
commit 2dc3fee59d
2 changed files with 6 additions and 6 deletions

View File

@ -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
} }

View File

@ -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>