Back to index

glibc  2.9
Defines | Functions
ntp_gettime.c File Reference
#include <sys/timex.h>

Go to the source code of this file.


#define modes   mode


int INTUSE() __adjtimex (struct timex *__ntx)
int ntp_gettime (struct ntptimeval *ntv)

Define Documentation

#define modes   mode

Definition at line 22 of file ntp_gettime.c.

Function Documentation

int INTUSE() __adjtimex ( struct timex __ntx)
int ntp_gettime ( struct ntptimeval ntv)

Definition at line 30 of file ntp_gettime.c.

  struct timex tntx;
  int result;

  tntx.modes = 0;
  result = INTUSE(__adjtimex) (&tntx);
  ntv->time = tntx.time;
  ntv->maxerror = tntx.maxerror;
  ntv->esterror = tntx.esterror;
  return result;

Here is the call graph for this function: