home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7211 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

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