summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/readlink.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/readlink.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
Diffstat (limited to 'lib/libc/sys/readlink.2')
-rw-r--r--lib/libc/sys/readlink.212
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/sys/readlink.2 b/lib/libc/sys/readlink.2
index fd97e1d..57ed4e6 100644
--- a/lib/libc/sys/readlink.2
+++ b/lib/libc/sys/readlink.2
@@ -45,7 +45,9 @@
.Ft int
.Fn readlink "const char *path" "char *buf" "int bufsiz"
.Sh DESCRIPTION
-.Fn Readlink
+The
+.Fn readlink
+system call
places the contents of the symbolic link
.Fa path
in the buffer
@@ -54,7 +56,7 @@ which has size
.Fa bufsiz .
The
.Fn readlink
-function does not append a
+system call does not append a
.Dv NUL
character to
.Fa buf .
@@ -64,7 +66,9 @@ if it succeeds, or a -1 if an error occurs, placing the error
code in the global variable
.Va errno .
.Sh ERRORS
-.Fn Readlink
+The
+.Fn readlink
+system call
will fail if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
@@ -94,5 +98,5 @@ extends outside the process's allocated address space.
.Sh HISTORY
The
.Fn readlink
-function call appeared in
+system call appeared in
.Bx 4.2 .
OpenPOWER on IntegriCloud