home *** CD-ROM | disk | FTP | other *** search
- Path: speedy.grolier.fr!usenet
- From: septh@club-internet.fr (Stephan Schreiber)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Reading file protection flags
- Date: 10 Apr 1996 23:33:49 GMT
- Organization: Grolier Interactive Europe
- Message-ID: <606.6674T1426T178@club-internet.fr>
- References: <DpLCzs.Lxn.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk>
- NNTP-Posting-Host: ppp-98-237.neuilly.club-internet.fr
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
-
- Le 09-Avr-96 11:55:02, Christopher Carr ecrivait a propos de Reading file
- protection flags:
- > I am trying to read the file protection flags in C using
- > fib_lProtection & FIBF_DELETE etc, but I get the wrong results
- > on delete, read, write and execute. But if I take the inverse of these
- > results I get the correct values. Is this another OS slip up since the rest
- > of the protection bits can bre read correctly, or am I doing it incorrectly?
-
- Some bits in the protection field a 0-active, other are 1-active. Check the
- docs.
-
- --
- Septh
-
- Sleep my friend and you will see,
- Dream is my reality...
-
-