Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2009 05:44:59 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   How to find what symlink points to?
Message-ID:  <310025.75856.qm@web57001.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help

Hi all

I need to remove some unwanted symlinks on /dev using a C program.

The "struct dirent" only shows the symlink name, how do I find what that symlink points to for verification purpose?

Regards
Unga




      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?310025.75856.qm>