Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.unix.wizards Subject: Re: extending 1003.1 to include sym links Message-ID: <14020090@hpisod2.HP.COM> Date: 22 Mar 90 00:35:39 GMT References: <580@longway.TIC.COM> Organization: Hewlett Packard, Cupertino Lines: 13 > the posix 1003.1 standard has cleverly evaded naming of bits > in the mode field of the stat structure. it does this by > defining tests (like S_ISDIR(mode) rather than (mode&S_IFMT)==S_IFDIR). > the question is, how do people deal with sym links? I simply > added a S_ISLNK macro but would prefer to go with the flow > if there is one. > > Volume-Number: Volume 19, Number 11 The current draft of POSIX.1b (Extensions to POSIX.1) is adding symlinks, and has added a macro as you describe by that name. Dave Decot