|
Re: FILE Pointer: msg#00244gcc.help
Hi Bharathi, >How to get the filename from the filepointer? You cannot. >What are the other informations we can get from FILE structure? feof(fp) -- tells you if the file is at the end of file ferror(fp) -- test whether read/write error has occurred ftell(fp) -- tells you the offset into the file fileno(fp) -- (non-ANSI) tells you the file descriptor of the fp fgetpos(fp, &pos) -- for noting positions, used in conjunction with fsetpos HTH, --Eljay |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Help needed for linking nested dynamic library: 00244, Gong, Richard |
|---|---|
| Next by Date: | cannot make gcc-3.3: 00244, Bart Pit |
| Previous by Thread: | FILE Pointeri: 00244, Bharathi S |
| Next by Thread: | Re: FILE Pointer: 00244, Bharathi S |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |