realpath.3 (0afc94c17a8772df34294778904e816258542498) realpath.3 (01e14bff35320d489c4647b89b4961433ba2e9e4)
1.\" Copyright (c) 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Jan-Simon Pendry.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 97 unchanged lines hidden (view full) ---

106.Va errno
107for any of the errors specified for the library functions
108.Xr lstat 2 ,
109.Xr readlink 2
110and
111.Xr getcwd 3 .
112.Sh SEE ALSO
113.Xr getcwd 3
1.\" Copyright (c) 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Jan-Simon Pendry.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 97 unchanged lines hidden (view full) ---

106.Va errno
107for any of the errors specified for the library functions
108.Xr lstat 2 ,
109.Xr readlink 2
110and
111.Xr getcwd 3 .
112.Sh SEE ALSO
113.Xr getcwd 3
114.Sh STANDARDS
115The
116.Fn realpath
117function conforms to
118.St -p1003.1-2001 .
114.\" .Sh STANDARDS
115.\" The
116.\" .Fn realpath
117.\" function conforms to
118.\" .St -p1003.1-2001 .
119.Sh HISTORY
120The
121.Fn realpath
122function first appeared in
123.Bx 4.4 .
124.Sh CAVEATS
125This implementation of
126.Fn realpath
127differs slightly from the Solaris implementation.
128The
129.Bx 4.4
130version always returns absolute pathnames,
131whereas the Solaris implementation will,
132under certain circumstances, return a relative
133.Fa resolved_path
134when given a relative
135.Fa pathname .
119.Sh HISTORY
120The
121.Fn realpath
122function first appeared in
123.Bx 4.4 .
124.Sh CAVEATS
125This implementation of
126.Fn realpath
127differs slightly from the Solaris implementation.
128The
129.Bx 4.4
130version always returns absolute pathnames,
131whereas the Solaris implementation will,
132under certain circumstances, return a relative
133.Fa resolved_path
134when given a relative
135.Fa pathname .