#include <libc.h>
Go to the source code of this file.
Defines | |
#define | __LIBTIMER_H__ 1 |
#define | SYSTIMER_REGISTER 1 |
#define | TIMERFL_USEC (1u<<1) |
#define | SYSTIMER_UNREGISTER 2 |
#define | SYSTIMER_SFRQ 3 |
#define | SYSTIMER_GFRQ 4 |
#define | SYSTIMER_GETTIMEOFDAY 9 |
#define | SYSTIMER_DUMP 10 |
Functions | |
int | timer_register (int usecs, u_int fl) |
int | timer_unregister (int timer_id) |
void | delay_fn (int sig) |
void | delay (u_int usecs) |
int | timer_dump (void) |
int | sleep (int secs) |
int | usleep (int usecs) |
u_int | ualarm (u_int usecs) |
u_int | alarm (u_int secs) |
int | gettimeofday (struct timeval *tp, struct timezone *tzp) |
time_t | time (time_t *tloc) |
char * | ctime (const time_t *clock) |
int | wait_for_srv (int gate, int ntries) |
int | select (int maxfd, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
int | poll (struct pollfd *fds, nfds_t nfds, int timeout) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select(2) emulation |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wait for a service to be up, returns 0 if OK else 1 with errno set. for this to work, caller must be of class TCBC_SCHED |