Deleted Added
full compact
realpath.3 (207009) realpath.3 (208027)
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

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

24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" @(#)realpath.3 8.2 (Berkeley) 2/16/94
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

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

24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" @(#)realpath.3 8.2 (Berkeley) 2/16/94
32.\" $FreeBSD: head/lib/libc/stdlib/realpath.3 207009 2010-04-21 19:35:56Z kib $
32.\" $FreeBSD: head/lib/libc/stdlib/realpath.3 208027 2010-05-13 12:07:55Z uqs $
33.\"
34.Dd April 19, 2010
35.Dt REALPATH 3
36.Os
37.Sh NAME
38.Nm realpath
39.Nd returns the canonicalized absolute pathname
40.Sh LIBRARY

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

104.Fn realpath
105may fail and set the external variable
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 .
33.\"
34.Dd April 19, 2010
35.Dt REALPATH 3
36.Os
37.Sh NAME
38.Nm realpath
39.Nd returns the canonicalized absolute pathname
40.Sh LIBRARY

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

104.Fn realpath
105may fail and set the external variable
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 .
119.Sh HISTORY
120The
121.Fn realpath
122function first appeared in
123.Bx 4.4 .
112.Sh CAVEATS
113This implementation of
114.Fn realpath
115differs slightly from the Solaris implementation.
116The
117.Bx 4.4
118version always returns absolute pathnames,
119whereas the Solaris implementation will,
120under certain circumstances, return a relative
121.Fa resolved_path
122when given a relative
123.Fa pathname .
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 .
124.Sh "SEE ALSO"
125.Xr getcwd 3
126.Sh STANDARDS
127The
128.Fn realpath
129function conforms to
130.St -p1003.1-2001 .
131.Sh HISTORY
132The
133.Fn realpath
134function first appeared in
135.Bx 4.4 .