Back to index

glibc  2.9
Classes | Functions
nanosleep.c File Reference
#include <assert.h>
#include <sys/time.h>
#include <sys/types.h>

Go to the source code of this file.


struct  timestruc_t


int _nsleep (struct timestruc_t *rqtp, struct timestruc_t *rmtp)
int __libc_nanosleep (const struct timespec *req, struct timespec *rem)

Class Documentation

struct timestruc_t

Definition at line 23 of file nanosleep.c.

Class Members
suseconds_t tv_nsec
time_t tv_sec

Function Documentation

int __libc_nanosleep ( const struct timespec req,
struct timespec rem 

Definition at line 33 of file nanosleep.c.

  assert (sizeof (struct timestruc_t) == sizeof (*req));
  return _nsleep ((struct timestruc_t *) req, (struct timestruc_t *) rem);
int _nsleep ( struct timestruc_t rqtp,
struct timestruc_t rmtp 

Here is the caller graph for this function: