1 --- realpath.3 2003-05-20 15:23:25.000000000 -0700
2 +++ realpath.3.edit 2006-09-06 15:43:17.000000000 -0700
10 -.Fn realpath "const char *pathname" "char resolved_path[PATH_MAX]"
12 +.Fa "const char *restrict file_name"
13 +.Fa "char *restrict resolved_name"
18 function resolves all symbolic links, extra
20 -characters and references to
21 +characters, and references to
28 and copies the resulting absolute pathname into
29 the memory referenced by
37 refer to a buffer capable of storing at least
40 function will resolve both absolute and relative paths
41 and return the absolute pathname corresponding to
43 -All but the last component of
66 contains the pathname which caused the problem.
71 for any of the errors specified for the library functions
79 version always returns absolute pathnames,
80 whereas the Solaris implementation will,
81 under certain circumstances, return a relative
88 +.Fd #include <sys/param.h>
89 +.Fd #include <stdlib.h>
94 +.Sh LEGACY DESCRIPTION
96 +the last component of
98 +does not need to exist when