Return to t.c CVS log | Up to [DVB] / dietlibc |
version 1.9, 2001/02/03 00:04:33 | version 1.10, 2001/02/03 00:36:32 |
---|---|
Line 8 | Line 8 |
#include <sys/mount.h> | #include <sys/mount.h> |
#include <time.h> | #include <time.h> |
#include <sys/stat.h> | #include <sys/stat.h> |
#include <stdio.h> | |
int main() { | int main() { |
char buf[100]; | |
fgets(buf,100,stdin); printf("got %d bytes\n",strlen(buf)); | |
fgets(buf,100,stdin); printf("got %d bytes\n",strlen(buf)); | |
#if 0 | #if 0 |
struct tm duh; | struct tm duh; |
time_t t; | time_t t; |
Line 99 int main() { | Line 103 int main() { |
exit(1); | exit(1); |
execvp(argv[0],argv); | execvp(argv[0],argv); |
#endif | #endif |
#if 1 | #if 0 |
struct stat64 f; | struct stat64 f; |
char buf[128]; | char buf[128]; |
fstat64(0,&f); | fstat64(0,&f); |