On Mon, Jul 27, 2009 at 05:44:59AM -0700, Unga wrote:
> 
> 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?

By using the readlink(2) system call.



-- 
<Insert your favourite quote here.>
Erik Trulsson
[email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to