diff --git a/headers/posix/sys/select.h b/headers/posix/sys/select.h index 8954bfd47d..557e98af7c 100644 --- a/headers/posix/sys/select.h +++ b/headers/posix/sys/select.h @@ -47,10 +47,10 @@ typedef struct fd_set { extern "C" { #endif -extern int pselect(int nbits, struct fd_set *rbits, struct fd_set *wbits, struct fd_set *ebits, - const struct timespec *timeout, const sigset_t *sigMask); -extern int select(int nbits, struct fd_set *rbits, struct fd_set *wbits, - struct fd_set *ebits, struct timeval *timeout); +extern int pselect(int numBits, struct fd_set *readBits, struct fd_set *writeBits, + struct fd_set *errorBits, const struct timespec *timeout, const sigset_t *sigMask); +extern int select(int numBits, struct fd_set *readBits, struct fd_set *writeBits, + struct fd_set *errorBits, struct timeval *timeout); #ifdef __cplusplus } diff --git a/headers/posix/sys/time.h b/headers/posix/sys/time.h index 4f6f69c7da..99d03514be 100644 --- a/headers/posix/sys/time.h +++ b/headers/posix/sys/time.h @@ -9,8 +9,8 @@ struct timeval { - time_t tv_sec; - suseconds_t tv_usec; + time_t tv_sec; /* seconds */ + suseconds_t tv_usec; /* microseconds */ }; #include