2009/12/31 Per Johansson <email address hidden>: > I believe the libc function (for OS X) you're looking for is > realpath(3), though it returns the full path beginning with /.
That could be really useful. Does it in fact do this normalization, or does it just dereference symbolic links? The manpage <http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/realpath.3.html> seems to imply the latter, but it might just be out of date.
-- Martin <http://launchpad.net/~mbp/>
2009/12/31 Per Johansson <email address hidden>:
> I believe the libc function (for OS X) you're looking for is
> realpath(3), though it returns the full path beginning with /.
That could be really useful. Does it in fact do this normalization, developer. apple.com/ mac/library/ documentation/ Darwin/ Reference/ ManPages/ man3/realpath. 3.html>
or does it just dereference symbolic links? The manpage
<http://
seems to imply the latter, but it might just be out of date.
-- launchpad. net/~mbp/>
Martin <http://