Xref: utzoo comp.lang.c:27073 comp.std.unix:565 comp.unix.wizards:21110 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!longway!std-unix From: andrew@alice.uucp (Andrew Hume) Newsgroups: comp.lang.c,comp.std.unix,comp.unix.wizards Subject: extending 1003.1 to include sym links Summary: how did people deal with sym links? Message-ID: <580@longway.TIC.COM> Date: 20 Mar 90 03:55:17 GMT Sender: std-unix@longway.TIC.COM Reply-To: std-unix@uunet.uu.net Followup-To: comp.std.unix Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 10 Approved: jsq@longway.tic.com (Moderator, John S. Quarterman) From: andrew@alice.uucp (Andrew Hume) 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