PE> Oh yeah. However, you could get it on unix by doing a separate
PE> call to fstat().
BL> I tried that. What's the format of the stat struct? It returns a
BL> longint that ctime() formats into a huge string but I can't find
BL> anything else that works on it. Or is it just the DOS integers joined
BL> together?
Should be # seconds since 1970.
PE> That is not C's efforts to do files, that is "C's" effort to do
PE> directories. C does not do directories.
BL> Gee... fancy that. I always thought files were directories. Silly
BL> me. No wonder I have so much trouble with them.
That's right.
BL> C doesn't do files very well, either. I wasted a whole bloody day
BL> stuffing around with date/time.. and how do I erase/move/copy files in
BL> UNIX? It says you can delete entries using opendir() but it doesn't
BL> say how.
I didn't think you could delete entries via opendir(). You can via
remove() though. And that's ISO C rather than POSIX, too boot! BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|