www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/21/15:23:40

Message-Id: <200110211919.f9LJJSa76877@postino4.int.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:18:52 -0300
MIME-Version: 1.0
Subject: Re: File attributes
X-mailer: Pegasus Mail for Windows (v3.12b)
Reply-To: djgpp 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

- Raw text -


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