home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.19 / text0010.txt < prev    next >
Encoding:
Internet Message Format  |  1990-05-17  |  404 b 

  1. From: andrew@alice.uucp (Andrew Hume)
  2.  
  3. the posix 1003.1 standard has cleverly evaded naming of bits
  4. in the mode field of the stat structure. it does this by
  5. defining tests (like S_ISDIR(mode) rather than (mode&S_IFMT)==S_IFDIR).
  6. the question is, how do people deal with sym links? I simply
  7. added a S_ISLNK macro but would prefer to go with the flow
  8. if there is one.
  9.  
  10. Volume-Number: Volume 19, Number 11
  11.  
  12.