summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2019-06-30 17:31:39 +0000
committerjmc <>2019-06-30 17:31:39 +0000
commit2bfac65cc0bd40d261de39c1b0f01b8955de1d1f (patch)
treeca00e0208e4f89a97f364964647c763a9ff95e43 /src
parente0045ca121eba6977330ff4f6422390a6bed7b3e (diff)
downloadopenbsd-2bfac65cc0bd40d261de39c1b0f01b8955de1d1f.tar.gz
openbsd-2bfac65cc0bd40d261de39c1b0f01b8955de1d1f.tar.bz2
openbsd-2bfac65cc0bd40d261de39c1b0f01b8955de1d1f.zip
tweak previous; ok guenther
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/realpath.311
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/realpath.3 b/src/lib/libc/stdlib/realpath.3
index e485fa792d..f4be5ff31a 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.22 2019/06/29 21:21:27 guenther Exp $ 31.\" $OpenBSD: realpath.3,v 1.23 2019/06/30 17:31:39 jmc Exp $
32.\" 32.\"
33.Dd $Mdocdate: June 29 2019 $ 33.Dd $Mdocdate: June 30 2019 $
34.Dt REALPATH 3 34.Dt REALPATH 3
35.Os 35.Os
36.Sh NAME 36.Sh NAME
@@ -150,14 +150,15 @@ function call first appeared in
150.Pp 150.Pp
151In 151In
152.Ox 6.6 , 152.Ox 6.6 ,
153it was reimplemented on top of a 153it was reimplemented on top of the
154.Fn __realpath 154.Fn __realpath
155system call whose calling convention differs from the standard 155system call.
156Its calling convention differed from the standard
156function by requiring 157function by requiring
157.Ar resolved 158.Ar resolved
158to not be 159to not be
159.Dv NULL 160.Dv NULL
160and by returning an integer, 161and by returning an integer,
161zero on success and \-1 with corresponding errno on failure. 162zero on success, and -1 with corresponding errno on failure.
162This is visible in the output of 163This is visible in the output of
163.Xr kdump 1 . 164.Xr kdump 1 .