Hi,
Sorry if there is a recent post about this but the Keyword Search is down.
Anyway I was wondering, is there some library function that will give just the a file size in bytes. I.e. In (for example) stdio.h call int getsize(FILE*) would return the size of a file pointed to by the file pointer?
I would like, as much as possible to stick to straight up ANSI C for ease of portability, but anything that works would be welcome at this point. M$'s MSDN is worse than useless and I am hoping that non Micoserfs can be a little more helpful.
Thanx in advance for any bright ideas.
Michael
Sorry if there is a recent post about this but the Keyword Search is down.
Anyway I was wondering, is there some library function that will give just the a file size in bytes. I.e. In (for example) stdio.h call int getsize(FILE*) would return the size of a file pointed to by the file pointer?
I would like, as much as possible to stick to straight up ANSI C for ease of portability, but anything that works would be welcome at this point. M$'s MSDN is worse than useless and I am hoping that non Micoserfs can be a little more helpful.
Thanx in advance for any bright ideas.
Michael