TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Carl Kreider 71076,76 (X)
from: Carl Kreider 71076,76
date: 1990-08-23 17:36:09
subject: #6237-clibs

#: 6285 S3/Languages
    23-Aug-90  17:36:09
Sb: #6237-clibs
Fm: Carl Kreider 71076,76
To: Carl Kreider 71076,76 (X)

Mark,

 I don't know what to say about fopen not working.  Since the code looked
correct, I threw together the following test.

 ---------------------8<-----------------
        #include 

        main()
                {
                FILE    *fp;

                fp = fopen("test", "a+");
                printf("fp = $%04X   errno = %d\n", fp, errno);
                }
 ---------------------8<---------------- The output was:  fp = $0033   errno = 216
 which seems correct to me.  What now?

Carl

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.