version 1.123, 2001/07/09 14:50:23
|
version 1.124, 2001/07/10 21:10:16
|
Line 76 void closelog(void) {
|
Line 76 void closelog(void) {
|
#endif |
#endif |
|
|
int main(int argc,char *argv[]) { |
int main(int argc,char *argv[]) { |
|
char *tmp; |
|
printf("%lu\n",strtol("0xf0000000",&tmp,0)); |
|
#if 0 |
struct mntent* me; |
struct mntent* me; |
FILE* f=fopen("/tmp/mounts","r"); |
FILE* f=fopen("/tmp/mounts","r"); |
while (me=getmntent(f)) { |
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); |
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); |
} |
} |
|
#endif |
#if 0 |
#if 0 |
char *tmp; |
char *tmp; |
printf("%x\n",strtol("0Xffff",&tmp,16)); |
printf("%x\n",strtol("0Xffff",&tmp,16)); |