This may belong in the programming forum, but its also (kind of) a general question.
I am trying to write some (c) code that will enable me to check if a directory entry is a link or not.
I had a look at the
definition, and theres the
member, but I don`t think this is what I`m looking for. Im not sure whether to use the stat or the lstat function.
I`d like some advice on this as I have never worked with links before. Thanks