Return to t.c CVS log | Up to [DVB] / dietlibc |
version 1.8, 2001/02/01 23:33:25 | version 1.9, 2001/02/03 00:04:33 |
---|---|
Line 7 | Line 7 |
#include <assert.h> | #include <assert.h> |
#include <sys/mount.h> | #include <sys/mount.h> |
#include <time.h> | #include <time.h> |
#include <sys/stat.h> | |
int main() { | int main() { |
#if 0 | |
struct tm duh; | struct tm duh; |
time_t t; | time_t t; |
time(&t); | time(&t); |
gmtime_r(&t,&duh); | gmtime_r(&t,&duh); |
printf("%s\n",asctime(&duh)); | printf("%s\n",asctime(&duh)); |
#endif | |
#if 0 | #if 0 |
char buf[30]; | char buf[30]; |
duh.tm_sec=42; | duh.tm_sec=42; |
Line 96 int main() { | Line 99 int main() { |
exit(1); | exit(1); |
execvp(argv[0],argv); | execvp(argv[0],argv); |
#endif | #endif |
#if 0 | #if 1 |
struct stat64 f; | struct stat64 f; |
char buf[128]; | char buf[128]; |
fstat64(0,&f); | fstat64(0,&f); |