what's wrong with gcc?# Unix - 噫吁兮,危乎高哉
a*e
1 楼
use struct stat to get inode of a file like this,
...
struct stat stab;
...
...
stat(filename,&stab)
...
gcc says error of "storage size of 'statb' isn't known"
but cc works well.
what's the point?
...
struct stat stab;
...
...
stat(filename,&stab)
...
gcc says error of "storage size of 'statb' isn't known"
but cc works well.
what's the point?