Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[78e35d]: joe / t.c Maximize Restore History

Download this file

t.c    10 lines (8 with data), 167 Bytes

1
2
3
4
5
6
7
8
9
#include <sys/types.h>
#include <sys/stat.h>
main(int argc,char *argv[])
{
struct stat sbuf;
stat(argv[1], &sbuf);
printf("stat ok %o %o\n", sbuf.st_mode,S_IFLNK);
}