Changeset View
Changeset View
Standalone View
Standalone View
w32/npth.h
Show First 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | int npth_cond_timedwait (npth_cond_t *cond, npth_mutex_t *mutex, | ||||
const struct timespec *abstime); | const struct timespec *abstime); | ||||
int npth_usleep(unsigned int usec); | int npth_usleep(unsigned int usec); | ||||
unsigned int npth_sleep(unsigned int sec); | unsigned int npth_sleep(unsigned int sec); | ||||
pid_t npth_waitpid(pid_t pid, int *status, int options); | pid_t npth_waitpid(pid_t pid, int *status, int options); | ||||
int npth_system(const char *cmd); | int npth_system(const char *cmd); | ||||
#if 0 | |||||
/* We do not support this on windows. */ | |||||
int npth_sigmask(int how, const sigset_t *set, sigset_t *oldset); | |||||
int npth_sigwait(const sigset_t *set, int *sig); | |||||
#endif | |||||
int npth_connect(int s, const struct sockaddr *addr, socklen_t addrlen); | int npth_connect(int s, const struct sockaddr *addr, socklen_t addrlen); | ||||
int npth_accept(int s, struct sockaddr *addr, socklen_t *addrlen); | int npth_accept(int s, struct sockaddr *addr, socklen_t *addrlen); | ||||
/* Only good for sockets! */ | /* Only good for sockets! */ | ||||
int npth_select(int nfd, fd_set *rfds, fd_set *wfds, fd_set *efds, | int npth_select(int nfd, fd_set *rfds, fd_set *wfds, fd_set *efds, | ||||
struct timeval *timeout); | struct timeval *timeout); | ||||
#if 0 | #if 0 | ||||
/* We do not support this on windows. */ | /* We do not support this on windows. */ | ||||
int npth_pselect(int nfd, fd_set *rfds, fd_set *wfds, fd_set *efds, | int npth_pselect(int nfd, fd_set *rfds, fd_set *wfds, fd_set *efds, | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |