summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/stdlib/realpath.318
1 files changed, 16 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/realpath.3 b/src/lib/libc/stdlib/realpath.3
index ca2b07f46d..e485fa792d 100644
--- a/src/lib/libc/stdlib/realpath.3
+++ b/src/lib/libc/stdlib/realpath.3
@@ -28,9 +28,9 @@
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE. 29.\" SUCH DAMAGE.
30.\" 30.\"
31.\" $OpenBSD: realpath.3,v 1.21 2019/06/15 17:06:46 jmc Exp $ 31.\" $OpenBSD: realpath.3,v 1.22 2019/06/29 21:21:27 guenther Exp $
32.\" 32.\"
33.Dd $Mdocdate: June 15 2019 $ 33.Dd $Mdocdate: June 29 2019 $
34.Dt REALPATH 3 34.Dt REALPATH 3
35.Os 35.Os
36.Sh NAME 36.Sh NAME
@@ -147,3 +147,17 @@ The
147.Fn realpath 147.Fn realpath
148function call first appeared in 148function call first appeared in
149.Bx 4.4 . 149.Bx 4.4 .
150.Pp
151In
152.Ox 6.6 ,
153it was reimplemented on top of a
154.Fn __realpath
155system call whose calling convention differs from the standard
156function by requiring
157.Ar resolved
158to not be
159.Dv NULL
160and by returning an integer,
161zero on success and \-1 with corresponding errno on failure.
162This is visible in the output of
163.Xr kdump 1 .