How to find what symlink points to?

Unga unga888 at yahoo.com
Mon Jul 27 12:45:00 UTC 2009


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




      


More information about the freebsd-questions mailing list