cepek@vixvax.mgi.com (11/21/90)
I would like to get some system-dependent error information back when I call fopen() or other "stdio.h routines". I had hopes that fopen() would set errno, and I could then use perror(). K&RII is pretty non-committal about errno (B1.7 and B4). Our Hayden Books set lists some routines which set errno, but most are "math.h routines". ANSI must have allowed for fopen(), fread(), fscanf(), etc. to return (better than "boolean") error status, didn't they? Can someone please tell me how? Thanks. ________________________________ Mike Cepek ________________________________