gettimeofday.h.html mathcode2html   
 Source file:   gettimeofday.h
 Converted:   Tue Apr 17 2012 at 11:03:37
 This documentation file will not reflect any later changes in the source file.

$$\phantom{******** If you see this on the webpage then the browser could not locate *********}$$
$$\phantom{******** jsMath/easy/load.js or the variable root is set wrong in this file *********}$$
$$\newcommand{\vector}[1]{\left[\begin{array}{c} #1 \end{array}\right]}$$ $$\newenvironment{matrix}{\left[\begin{array}{cccccccccc}} {\end{array}\right]}$$ $$\newcommand{\A}{{\cal A}}$$ $$\newcommand{\W}{{\cal W}}$$

#ifndef GETTIMEOFDAY_H
#define GETTIMEOFDAY_H

// Win32 is missing this function
#ifdef _WIN32

#include <time.h>
#include <windows.h>
#include "qubfast.h"

#ifdef __cplusplus
extern "C" {
#endif

struct timezone
{
  int  tz_minuteswest; /* minutes W of Greenwich */
  int  tz_dsttime;     /* type of dst correction */
};
 
// Definition of a gettimeofday function
 
QUBFAST_API int gettimeofday(struct timeval *tv, struct timezone *tz);

#ifdef __cplusplus
}
#endif

#endif
#endif