summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-08-20 03:52:45 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-08-20 03:52:45 +0000
commit67eccf19d86af151b84fdf0a25a8e721bb0ad0e2 (patch)
tree76904419a27939d3772648ab494ef4f7cd1b5c2f /lib
parent03d1076362fb0c10ab2a88a44b4619553182b3eb (diff)
Update from lite2 version and fix grammatical error from
Krister Walfridsson <cato@ulysses.df.lth.se>.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/string/strmode.327
1 files changed, 14 insertions, 13 deletions
diff --git a/lib/libc/string/strmode.3 b/lib/libc/string/strmode.3
index af16a2beb16..61233ee5811 100644
--- a/lib/libc/string/strmode.3
+++ b/lib/libc/string/strmode.3
@@ -1,5 +1,7 @@
-.\" Copyright (c) 1990, 1991 The Regents of the University of California.
-.\" All rights reserved.
+.\" $OpenBSD: strmode.3,v 1.4 1997/08/20 03:52:44 millert Exp $
+.\"
+.\" Copyright (c) 1990, 1991, 1993
+.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -29,9 +31,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strmode.3,v 1.3 1997/06/13 13:57:20 deraadt Exp $
+.\" @(#)strmode.3 8.3 (Berkeley) 7/28/94
.\"
-.Dd July 31, 1991
+.Dd July 28, 1994
.Dt STRMODE 3
.Os
.Sh NAME
@@ -99,28 +101,28 @@ The third character is the first of the following characters that apply:
.Bl -tag -width xxxx
.It S
If the character is part of the owner permissions and the file is not
-executable or the directory is not searchable, by the owner, and the
+executable or the directory is not searchable by the owner, and the
set-user-id bit is set.
.It S
If the character is part of the group permissions and the file is not
-executable or the directory is not searchable, by the group, and the
+executable or the directory is not searchable by the group, and the
set-group-id bit is set.
.It T
If the character is part of the other permissions and the file is not
-executable or the directory is not searchable, by others, and the ``sticky''
+executable or the directory is not searchable by others, and the ``sticky''
.Pq Dv S_ISVTX
bit is set.
.It s
If the character is part of the owner permissions and the file is
-executable or the directory searchable, by the owner, and the set-user-id
+executable or the directory searchable by the owner, and the set-user-id
bit is set.
.It s
If the character is part of the group permissions and the file is
-executable or the directory searchable, by the group, and the set-group-id
+executable or the directory searchable by the group, and the set-group-id
bit is set.
.It t
If the character is part of the other permissions and the file is
-executable or the directory searchable, by others, and the ``sticky''
+executable or the directory searchable by others, and the ``sticky''
.Pq Dv S_ISVTX
bit is set.
.It x
@@ -129,7 +131,7 @@ The file is executable or the directory is searchable.
None of the above apply.
.El
.Pp
-The last character is a plus sign ``+'' if any there are any alternate
+The last character is a plus sign ``+'' if there are any alternate
or additional access control methods associated with the inode, otherwise
it will be a space.
.Sh RETURN VALUES
@@ -146,5 +148,4 @@ always returns 0.
.Sh HISTORY
The
.Fn strmode
-function
-.Ud .
+function first appeared in 4.4BSD.