strmode.3 (7bdf80e5714a8b59a2bfda90f367be4612df033e) | strmode.3 (662909a7800d5634772b89ca1509765dda837508) |
---|---|
1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 15 unchanged lines hidden (view full) --- 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" | 1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 15 unchanged lines hidden (view full) --- 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" |
32.\" @(#)strmode.3 8.2 (Berkeley) 12/11/93 | 32.\" @(#)strmode.3 8.3 (Berkeley) 7/28/94 |
33.\" | 33.\" |
34.Dd December 11, 1993 | 34.Dd July 28, 1994 |
35.Dt STRMODE 3 36.Os 37.Sh NAME 38.Nm strmode 39.Nd convert inode status information into a symbolic string 40.Sh SYNOPSIS 41.Fd #include <string.h> 42.Ft void --- 23 unchanged lines hidden (view full) --- 66.It d 67directory 68.It l 69symbolic link 70.It p 71fifo 72.It s 73socket | 35.Dt STRMODE 3 36.Os 37.Sh NAME 38.Nm strmode 39.Nd convert inode status information into a symbolic string 40.Sh SYNOPSIS 41.Fd #include <string.h> 42.Ft void --- 23 unchanged lines hidden (view full) --- 66.It d 67directory 68.It l 69symbolic link 70.It p 71fifo 72.It s 73socket |
74.It w 75whiteout |
|
74.It ? 75unknown inode type 76.El 77.Pp 78The next nine characters encode three sets of permissions, in three 79characters each. 80The first three characters are the permissions for the owner of the 81file, the second three for the group the file belongs to, and the --- 57 unchanged lines hidden (view full) --- 139.Xr chmod 1 , 140.Xr find 1 , 141.Xr stat 2 , 142.Xr getmode 3 , 143.Xr setmode 3 144.Sh HISTORY 145The 146.Fn strmode | 76.It ? 77unknown inode type 78.El 79.Pp 80The next nine characters encode three sets of permissions, in three 81characters each. 82The first three characters are the permissions for the owner of the 83file, the second three for the group the file belongs to, and the --- 57 unchanged lines hidden (view full) --- 141.Xr chmod 1 , 142.Xr find 1 , 143.Xr stat 2 , 144.Xr getmode 3 , 145.Xr setmode 3 146.Sh HISTORY 147The 148.Fn strmode |
147function first appeared in 148.Bx 4.4 . | 149function first appeared in 4.4BSD. |