Mail Archives: djgpp/1997/06/03/15:34:15
S2200253 AT nickel DOT laurentian DOT ca wrote:
> I'm writting a program in C++ that needs to find out the time/date
> stamp on a file, which it will have open for reading from.
>
> To call the function fstat will I have to re-open the given file
> using the "old" C FILE method or is there a way to do so with
> the already open file stream?
Eh? POSIX fstat takes a file descriptor (and int), not a FILE *. Either
way, you're going to have to do it separately from a FILE * or an istream.
--
Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"Covenants without the sword / are but words."
/ Camden
- Raw text -