usr/src/uts/common/sys/mode.h
changeset 9521 b061a79d3d1a
parent 9519 fc2830e2f3c4
child 9694 78fafb281255
equal deleted inserted replaced
9520:017f1b58f68b 9521:b061a79d3d1a
     1 /*
     1 /*
     2  * CDDL HEADER START
     2  * CDDL HEADER START
     3  *
     3  *
     4  * The contents of this file are subject to the terms of the
     4  * The contents of this file are subject to the terms of the
     5  * Common Development and Distribution License (the "License").
     5  * Common Development and Distribution License, Version 1.0 only
     6  * You may not use this file except in compliance with the License.
     6  * (the "License").  You may not use this file except in compliance
       
     7  * with the License.
     7  *
     8  *
     8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     9  * or http://www.opensolaris.org/os/licensing.
    10  * or http://www.opensolaris.org/os/licensing.
    10  * See the License for the specific language governing permissions
    11  * See the License for the specific language governing permissions
    11  * and limitations under the License.
    12  * and limitations under the License.
    17  * information: Portions Copyright [yyyy] [name of copyright owner]
    18  * information: Portions Copyright [yyyy] [name of copyright owner]
    18  *
    19  *
    19  * CDDL HEADER END
    20  * CDDL HEADER END
    20  */
    21  */
    21 /*
    22 /*
    22  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
    23  * Copyright (c) 1997-1998 by Sun Microsystems, Inc.
    23  * Use is subject to license terms.
    24  * All rights reserved.
    24  */
    25  */
    25 
    26 
    26 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
    27 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
    27 /*	  All Rights Reserved  	*/
    28 /*	  All Rights Reserved  	*/
    28 
    29 
    29 
    30 
    30 #ifndef _SYS_MODE_H
    31 #ifndef _SYS_MODE_H
    31 #define	_SYS_MODE_H
    32 #define	_SYS_MODE_H
    32 
    33 
    33 #include <sys/stat.h>
    34 #pragma ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.2	*/
    34 #include <sys/vnode.h>
       
    35 
    35 
    36 #ifdef	__cplusplus
    36 #ifdef	__cplusplus
    37 extern "C" {
    37 extern "C" {
    38 #endif
    38 #endif
       
    39 
       
    40 /*
       
    41  * REQUIRES sys/stat.h
       
    42  * REQUIRES sys/vnode.h
       
    43  */
    39 
    44 
    40 /*
    45 /*
    41  * Conversion between vnode types/modes and encoded type/mode as
    46  * Conversion between vnode types/modes and encoded type/mode as
    42  * seen by stat(2) and mknod(2).
    47  * seen by stat(2) and mknod(2).
    43  */
    48  */