File: time.h

package info (click to toggle)
emacs21 21.4a-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 68,912 kB
  • ctags: 58,887
  • sloc: lisp: 493,229; ansic: 237,171; sh: 28,252; xml: 4,262; makefile: 2,428; perl: 1,069; cs: 776; asm: 254; csh: 9; sed: 4
file content (23 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SYS_TIME_H_INCLUDED
#define SYS_TIME_H_INCLUDED

/*
 * sys/time.h doesn't exist on NT
 */

struct timeval 
  {
    long tv_sec;	/* seconds */
    long tv_usec;	/* microseconds */
  };
struct timezone 
  {
    int	tz_minuteswest;	/* minutes west of Greenwich */
    int	tz_dsttime;	/* type of dst correction */
  };

void gettimeofday (struct timeval *, struct timezone *);

#endif /* SYS_TIME_H_INCLUDED */

/* end of sys/time.h */