version 1.122, 2001/07/09 13:54:07
|
version 1.123, 2001/07/09 14:50:23
|
Line 76 void closelog(void) {
|
Line 76 void closelog(void) {
|
#endif |
#endif |
|
|
int main(int argc,char *argv[]) { |
int main(int argc,char *argv[]) { |
puts("fnord"); |
struct mntent* me; |
|
FILE* f=fopen("/tmp/mounts","r"); |
|
while (me=getmntent(f)) { |
|
printf("%s %s %s %s %d %d\n",me->mnt_fsname,me->mnt_dir,me->mnt_type,me->mnt_opts,me->mnt_freq,me->mnt_passno); |
|
} |
|
#if 0 |
|
char *tmp; |
|
printf("%x\n",strtol("0Xffff",&tmp,16)); |
|
#endif |
// putchar('c'); |
// putchar('c'); |
// write(1,"fnord\n",6); |
// write(1,"fnord\n",6); |
#if 0 |
#if 0 |