From: Waldemar Schultz Newsgroups: comp.os.msdos.djgpp Subject: Re: Changing file protections Date: Tue, 05 Jun 2001 12:25:46 +0200 Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Lines: 25 Message-ID: <3B1CB3AA.A109BEE9@ma.tum.de> References: <3B17629C DOT B7A62B67 AT lps DOT u-psud DOT fr> <2593-Fri01Jun2001140424+0300-eliz AT is DOT elta DOT co DOT il> <3B17A982 DOT 5D9BC569 AT lps DOT u-psud DOT fr> <8011-Fri01Jun2001192208+0300-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: pcritter14.mathematik.tu-muenchen.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: wsc10.lrz-muenchen.de 991736737 29022 131.159.68.151 (5 Jun 2001 10:25:37 GMT) X-Complaints-To: news AT lrz-muenchen DOT de NNTP-Posting-Date: 5 Jun 2001 10:25:37 GMT X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: de,en-US To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > > Date: Fri, 01 Jun 2001 16:41:06 +0200 > > From: taupin > > > > > > Sorry, I didn't realize you were asking about a C function. The DJGPP > > > library function `_chmod' supports all DOS attributes, including those > > > you mentioned (read-only, hidden, and system). > > > > Is there a DOC about that. info _chmod gives nothing... > > The manual is calle ``libc'', not ``_chmod''. Thus: > > info libc alpha _chmod > > should land you in the right section. related question: are there libc functions to change attributes / date of _directories_ ? -- Gruss Waldemar Schultz. schultz AT ma DOT tum DOT de Technische Universität München, Zentrum Mathematik M1, D 80290 München Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228