Back to index

cell-binutils  2.17cvs20070401
gettimeofday.c File Reference
#include "config.h"
#include "libiberty.h"

Go to the source code of this file.


int gettimeofday (struct timeval *tp, void *tz)

Function Documentation

int gettimeofday ( struct timeval *  tp,
void *  tz 

Definition at line 22 of file gettimeofday.c.

  if (tz)
    abort ();
  tp->tv_usec = 0;
  if (time (&tp->tv_sec) == (time_t) -1)
    return -1;
  return 0;

Here is the caller graph for this function: