summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/basename.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 13:33:04 +0000
committerru <ru@FreeBSD.org>2002-12-18 13:33:04 +0000
commit863465c1ab2c58349d7f1f859822ef564e592280 (patch)
tree6086e75984c3472fb331e2598243ce260e65581f /lib/libc/gen/basename.3
parent8746d263e1451855025dc83dde5176cc9f1fbe3f (diff)
downloadFreeBSD-src-863465c1ab2c58349d7f1f859822ef564e592280.zip
FreeBSD-src-863465c1ab2c58349d7f1f859822ef564e592280.tar.gz
mdoc(7) police: Fixed abuses of the .Ar and .Em macros.
Diffstat (limited to 'lib/libc/gen/basename.3')
-rw-r--r--lib/libc/gen/basename.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/basename.3 b/lib/libc/gen/basename.3
index 85c65f6..5da5e4f7 100644
--- a/lib/libc/gen/basename.3
+++ b/lib/libc/gen/basename.3
@@ -42,19 +42,19 @@ The
.Fn basename
function
returns the last component from the pathname pointed to by
-.Ar path ,
+.Fa path ,
deleting any trailing
.Sq \&/
characters.
If
-.Ar path
+.Fa path
consists entirely of
.Sq \&/
characters, a pointer to the string
.Qq \&/
is returned.
If
-.Ar path
+.Fa path
is a null pointer or the empty string, a pointer to the string
.Qq \&.
is returned.
@@ -62,7 +62,7 @@ is returned.
On successful completion,
.Fn basename
returns a pointer to the last component of
-.Ar path .
+.Fa path .
.Pp
If
.Fn basename
OpenPOWER on IntegriCloud