source: branches/minix3-book/include/sys/time.h@ 25

Last change on this file since 25 was 4, checked in by Mattia Monga, 14 years ago

Importazione sorgenti libro

File size: 418 bytes
Line 
1/*
2sys/time.h
3*/
4
5#ifndef _SYS__TIME_H
6#define _SYS__TIME_H
7
8#include <ansi.h>
9
10/* Open Group Base Specifications Issue 6 (not complete) */
11struct timeval
12{
13 long /*time_t*/ tv_sec;
14 long /*useconds_t*/ tv_usec;
15};
16
17int gettimeofday(struct timeval *_RESTRICT tp, void *_RESTRICT tzp);
18
19/* Compatibility with other Unix systems */
20int settimeofday(const struct timeval *tp, const void *tzp);
21
22#endif /* _SYS__TIME_H */
Note: See TracBrowser for help on using the repository browser.