source:
CIVL/mods/dev.civl.com/include/headers/sys/times.h@
bc0fbae
| Last change on this file since bc0fbae was b4b3b0d, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 328 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | /* This header file defines the C library time.h */ |
| 2 | ||
| 3 | #ifndef __SYSTIMES__ | |
| 4 | #define __SYSTIMES__ | |
| 5 | ||
| 6 | typedef double clock_t; | |
| 7 | ||
| 8 | struct tms; | |
| 9 | ||
| 10 | #ifndef NULL | |
| 11 | #define NULL (void*)0 | |
| 12 | #endif | |
| 13 | ||
| 14 | #define CLOCKS_PER_SEC 100 | |
| 15 | ||
| 16 | /* | |
| 17 | * Calculates the current calendar time and encodes it into time_t format. | |
| 18 | */ | |
| 19 | clock_t times(struct tms *timer); | |
| 20 | ||
| 21 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
