diff options
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/string/strmode.3 | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/lib/libc/string/strmode.3 b/src/lib/libc/string/strmode.3 index af16a2beb1..61233ee581 100644 --- a/src/lib/libc/string/strmode.3 +++ b/src/lib/libc/string/strmode.3 | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 1 | .\" $OpenBSD: strmode.3,v 1.4 1997/08/20 03:52:44 millert Exp $ |
| 2 | .\" All rights reserved. | 2 | .\" |
| 3 | .\" Copyright (c) 1990, 1991, 1993 | ||
| 4 | .\" The Regents of the University of California. All rights reserved. | ||
| 3 | .\" | 5 | .\" |
| 4 | .\" Redistribution and use in source and binary forms, with or without | 6 | .\" Redistribution and use in source and binary forms, with or without |
| 5 | .\" modification, are permitted provided that the following conditions | 7 | .\" modification, are permitted provided that the following conditions |
| @@ -29,9 +31,9 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 31 | .\" | 33 | .\" |
| 32 | .\" $OpenBSD: strmode.3,v 1.3 1997/06/13 13:57:20 deraadt Exp $ | 34 | .\" @(#)strmode.3 8.3 (Berkeley) 7/28/94 |
| 33 | .\" | 35 | .\" |
| 34 | .Dd July 31, 1991 | 36 | .Dd July 28, 1994 |
| 35 | .Dt STRMODE 3 | 37 | .Dt STRMODE 3 |
| 36 | .Os | 38 | .Os |
| 37 | .Sh NAME | 39 | .Sh NAME |
| @@ -99,28 +101,28 @@ The third character is the first of the following characters that apply: | |||
| 99 | .Bl -tag -width xxxx | 101 | .Bl -tag -width xxxx |
| 100 | .It S | 102 | .It S |
| 101 | If the character is part of the owner permissions and the file is not | 103 | If the character is part of the owner permissions and the file is not |
| 102 | executable or the directory is not searchable, by the owner, and the | 104 | executable or the directory is not searchable by the owner, and the |
| 103 | set-user-id bit is set. | 105 | set-user-id bit is set. |
| 104 | .It S | 106 | .It S |
| 105 | If the character is part of the group permissions and the file is not | 107 | If the character is part of the group permissions and the file is not |
| 106 | executable or the directory is not searchable, by the group, and the | 108 | executable or the directory is not searchable by the group, and the |
| 107 | set-group-id bit is set. | 109 | set-group-id bit is set. |
| 108 | .It T | 110 | .It T |
| 109 | If the character is part of the other permissions and the file is not | 111 | If the character is part of the other permissions and the file is not |
| 110 | executable or the directory is not searchable, by others, and the ``sticky'' | 112 | executable or the directory is not searchable by others, and the ``sticky'' |
| 111 | .Pq Dv S_ISVTX | 113 | .Pq Dv S_ISVTX |
| 112 | bit is set. | 114 | bit is set. |
| 113 | .It s | 115 | .It s |
| 114 | If the character is part of the owner permissions and the file is | 116 | If the character is part of the owner permissions and the file is |
| 115 | executable or the directory searchable, by the owner, and the set-user-id | 117 | executable or the directory searchable by the owner, and the set-user-id |
| 116 | bit is set. | 118 | bit is set. |
| 117 | .It s | 119 | .It s |
| 118 | If the character is part of the group permissions and the file is | 120 | If the character is part of the group permissions and the file is |
| 119 | executable or the directory searchable, by the group, and the set-group-id | 121 | executable or the directory searchable by the group, and the set-group-id |
| 120 | bit is set. | 122 | bit is set. |
| 121 | .It t | 123 | .It t |
| 122 | If the character is part of the other permissions and the file is | 124 | If the character is part of the other permissions and the file is |
| 123 | executable or the directory searchable, by others, and the ``sticky'' | 125 | executable or the directory searchable by others, and the ``sticky'' |
| 124 | .Pq Dv S_ISVTX | 126 | .Pq Dv S_ISVTX |
| 125 | bit is set. | 127 | bit is set. |
| 126 | .It x | 128 | .It x |
| @@ -129,7 +131,7 @@ The file is executable or the directory is searchable. | |||
| 129 | None of the above apply. | 131 | None of the above apply. |
| 130 | .El | 132 | .El |
| 131 | .Pp | 133 | .Pp |
| 132 | The last character is a plus sign ``+'' if any there are any alternate | 134 | The last character is a plus sign ``+'' if there are any alternate |
| 133 | or additional access control methods associated with the inode, otherwise | 135 | or additional access control methods associated with the inode, otherwise |
| 134 | it will be a space. | 136 | it will be a space. |
| 135 | .Sh RETURN VALUES | 137 | .Sh RETURN VALUES |
| @@ -146,5 +148,4 @@ always returns 0. | |||
| 146 | .Sh HISTORY | 148 | .Sh HISTORY |
| 147 | The | 149 | The |
| 148 | .Fn strmode | 150 | .Fn strmode |
| 149 | function | 151 | function first appeared in 4.4BSD. |
| 150 | .Ud . | ||
