Last change
on this file since 12 was 4, checked in by Mattia Monga, 14 years ago |
Importazione sorgenti libro
|
File size:
418 bytes
|
Rev | Line | |
---|
[4] | 1 | /*
|
---|
| 2 | sys/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) */
|
---|
| 11 | struct timeval
|
---|
| 12 | {
|
---|
| 13 | long /*time_t*/ tv_sec;
|
---|
| 14 | long /*useconds_t*/ tv_usec;
|
---|
| 15 | };
|
---|
| 16 |
|
---|
| 17 | int gettimeofday(struct timeval *_RESTRICT tp, void *_RESTRICT tzp);
|
---|
| 18 |
|
---|
| 19 | /* Compatibility with other Unix systems */
|
---|
| 20 | int settimeofday(const struct timeval *tp, const void *tzp);
|
---|
| 21 |
|
---|
| 22 | #endif /* _SYS__TIME_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.