source:
CIVL/mods/dev.civl.abc/src/include/abc/sys/times.h@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 328 bytes | |
| Line | |
|---|---|
| 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.
