| delorie.com/archives/browse.cgi | search |
| Message-Id: | <200110211915.f9LJFUs73506@postino5.prima.com.ar> |
| From: | "Orlando P. Hevia" <heviaop AT ciudad DOT com DOT ar> |
| To: | djgpp AT delorie DOT com |
| Date: | Sun, 21 Oct 2001 16:14:54 -0300 |
| MIME-Version: | 1.0 |
| Subject: | Re: File attributes |
| In-reply-to: | <2593-Sun21Oct2001182401+0200-eliz@is.elta.co.il> |
| References: | <Xns9141B245048B1gd678bcz5bAA AT 192 DOT 89 DOT 123 DOT 233> (message from Sami on Sun, 21 Oct 2001 14:29:13 GMT) |
| X-mailer: | Pegasus Mail for Windows (v3.12b) |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> >
> > I haven't found S_I* symbol for 'hidden' and 'system'
> > -attributes.
>
> They aren't there: `chmod' is a Posix function, and Posix
> doesn't know anything about DOS/Windows-specific attributes.
>
> > Is there any standard (or any common) function or way in C
> > to set these -file attributes? I've found _chmod() in
> > djgpp, but is there a more common function for this?
I used CALL SYSTEM('ATTRIB +H FILE.EXT')
in FORTRAN. May be an equivalent works in C.
Ing. Orlando P. Hevia
heviaop AT ciudad DOT com DOT ar
Santa Fe-Argentina
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |