using stat
using stat
- Subject: using stat
- From: Hugh Hoover <email@hidden>
- Date: Sun, 12 Sep 2004 01:27:25 -0700
Hi - I'm attempting to use stat on 10.3.5 and getting back strange
results...
The first items in the result stat_buf struct seems more or less
correct, dev, inode, uid, gid, times, size, etc.
The nlinks field seems suspicious, but the killer is the st_flags field
- it's ALWAYS 0 - even for directories (which is why I'm doing the stat
- to find out if I have a directory or not).
I've checked the sys/stat.h header and everything appears to be in
order there. I'm pretty sure I've got the right set of headers (for
10.3).
Any suggestions?
TIA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden