Download src/php/php-src/win32/time.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 1.77 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/win32/time.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/win32/time.h
-
curl -L -o time.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/win32/time.h
1.77 kB
| /***************************************************************************** | |
| * * | |
| * sys/time.h * | |
| * * | |
| * Freely redistributable and modifiable. Use at your own risk. * | |
| * * | |
| * Copyright 1994 The Downhill Project * | |
| * | |
| * Modified by Shane Caraveo for PHP | |
| * | |
| *****************************************************************************/ | |
| /* Include stuff ************************************************************ */ | |
| /* Struct stuff ************************************************************* */ | |
| struct timezone { | |
| int tz_minuteswest; | |
| int tz_dsttime; | |
| }; | |
| struct itimerval { | |
| struct timeval it_interval; /* next value */ | |
| struct timeval it_value; /* current value */ | |
| }; | |
| typedef long suseconds_t; | |
| /* Prototype stuff ********************************************************** */ | |
| PHPAPI extern int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info); | |
| /* setitimer operates at 100 millisecond resolution */ | |
| PHPAPI extern int setitimer(int which, const struct itimerval *value, | |
| struct itimerval *ovalue); | |
| PHPAPI int nanosleep( const struct timespec * rqtp, struct timespec * rmtp ); | |
| PHPAPI int usleep(unsigned int useconds); | |