Index: [thread] [date] [subject] [author]
  From: Ted Shion Hung <tsh5@duke.edu>
  To  : 
  Date: Wed, 3 Mar 1999 20:59:44 -0500

S_IFLNK and lstat

I've been using lstat() and checking the S_IFLNK flag to figure
out whether the file is a symbolic link.  The only problem is
that it is not working.  It seems to flag anything that is not
a directory as a symbolic link.  Is there anything else I need
to do to distinguish a symbolic link?  Any and all help would
be greatly appreciated.

Ted Hung



Index: [thread] [date] [subject] [author]