www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/11/08:06:38

From: "Honey LAN >_^" <honeymak AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: file manipulation..........
Date: Thu, 11 Jan 2001 20:55:59 +0800
Organization: IMS Netvigator
Lines: 10
Message-ID: <93ka9n$e0v1@imsp212.netvigator.com>
NNTP-Posting-Host: wtstnt04175.netvigator.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

em.........i m a C student.........
when we work with a file,
e.g. file_ptr = fopen("filename.ext", "w")
how C compiler deal with the env with permission?
i mean if i don't have the correct permission of the file, in this example
"write", can i work with that file?.........i know the value of the file_ptr
is returned by the OS.......will the OS just ignore this operation? or
return any error msg?....thank Q....


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019