Category : C Source Code
Archive   : CSRC2.ZIP
Filename : IOVTOA.C

Output of file : IOVTOA.C contained in archive : CSRC2.ZIP
* i o v t o a . c



title iovtoa Convert File Name to Ascii - obsolete
index Convert file name to Ascii - obsolete


char *
FILE *fd;
char *buffer;


iovtoa() is an obsolete name and form of fgetname(). It exists
solely for compatibility purposes; new programs should use fgetname()
and old ones SHOULD (eventually) be converted.

Note that iovtoa() differs from fgetname() in only one way: While
fgetname() returns buffer, iovtoa() returns a pointer to the null
trailing the extracted name.




Jerry Leichter


* Edit history
* 0.0 19-Jun-81 JSL Invention


extern char *fgetname(); /* The real one */

char *
FILE *fd;
char *buffer;
while(*buffer++) /* Scan 'till past the null */
return(buffer - 1);

  3 Responses to “Category : C Source Code
Archive   : CSRC2.ZIP
Filename : IOVTOA.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: