how to get the file name
- From: "marsarden" <arden1019@xxxxxxxxx>
- Date: 5 Jan 2006 16:18:36 -0800
only has the FILE * handle , how to get the file name ?
for example,i have a function accpet a (FILE *)argumment and return the
file name :
char * getfilename(FILE * fp);
thx for help;
.
- Follow-Ups:
- Re: how to get the file name
- From: "Nils O. Selåsdal"
- Re: how to get the file name
- Prev by Date: MALLOC_CHECK_ kludge?
- Next by Date: Re: MALLOC_CHECK_ kludge?
- Previous by thread: MALLOC_CHECK_ kludge?
- Next by thread: Re: how to get the file name
- Index(es):