Back to index

glibc  2.9
usleep.c File Reference
#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>

Go to the source code of this file.


int usleep (useconds_t useconds)

Function Documentation

int usleep ( useconds_t  useconds)

Definition at line 25 of file usleep.c.

  struct timeval delay;

  delay.tv_sec = 0;
  delay.tv_usec = useconds;

  return __select (0, (fd_set *) NULL, (fd_set *) NULL, (fd_set *) NULL,

Here is the call graph for this function: