From: "Honey LAN >_^" 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....