delorie.com/archives/browse.cgi | search |
> From: "Stephen J. Turnbull" <turnbull AT sk DOT tsukuba DOT ac DOT jp> > Date: Sat, 20 Jul 2013 17:20:25 +0900 > > I would assume that > > ifp = fopen(infile, "r"); ofp = fopen(outfile, "w"); > > produces an unwritable and an unreadable file respectively There's no such thing as "unreadable file" on DOS. As for "unwritable file", fopen(..., "r") does not create a file, so it cannot change the file's attributes.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |