summaryrefslogtreecommitdiff
path: root/lib/libc/gen/basename.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-04-18 03:01:36 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-04-18 03:01:36 +0000
commitc2d5d31832de35b48a0e487f90b9a58abeb3a8ea (patch)
tree3dcc33b96ac33fca8fde9f5dff0db0a5afbb6ae4 /lib/libc/gen/basename.3
parentb6a043747e2041e97decf4b4c5a3b51c3b40b722 (diff)
Repairs, mostly removing hard sentence breaks.
Diffstat (limited to 'lib/libc/gen/basename.3')
-rw-r--r--lib/libc/gen/basename.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/gen/basename.3 b/lib/libc/gen/basename.3
index 53e01067660..e5c74951f33 100644
--- a/lib/libc/gen/basename.3
+++ b/lib/libc/gen/basename.3
@@ -24,7 +24,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: basename.3,v 1.11 1999/06/04 01:30:10 aaron Exp $
+.\" $OpenBSD: basename.3,v 1.12 2000/04/18 03:01:25 aaron Exp $
.\"
.Dd August 17, 1997
.Dt BASENAME 3
@@ -44,13 +44,15 @@ returns the last component from the pathname pointed to by
.Ar path ,
deleting any trailing
.Sq \&/
-characters. If
+characters.
+If
.Ar path
consists entirely of
.Sq \&/
characters, a pointer to the string
.Qq \&/
-is returned. If
+is returned.
+If
.Ar path
is a null pointer or the empty string, a pointer to the string
.Qq \&.