types.h (7c478bd9) types.h (2b24ab6b)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27/*
28 * Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
29 * All Rights Reserved
30 */
31

--- 5 unchanged lines hidden (view full) ---

37 * University Acknowledgment- Portions of this document are derived from
38 * software developed by the University of California, Berkeley, and its
39 * contributors.
40 */
41
42#ifndef _SYS_TYPES_H
43#define _SYS_TYPES_H
44
23 * Use is subject to license terms.
24 */
25
26/*
27 * Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
28 * All Rights Reserved
29 */
30

--- 5 unchanged lines hidden (view full) ---

36 * University Acknowledgment- Portions of this document are derived from
37 * software developed by the University of California, Berkeley, and its
38 * contributors.
39 */
40
41#ifndef _SYS_TYPES_H
42#define _SYS_TYPES_H
43
45#pragma ident "%Z%%M% %I% %E% SMI"
46
47/*
48 * Include fixed width type declarations proposed by the ISO/JTC1/SC22/WG14 C
49 * committee's working draft for the revision of the current ISO C standard,
50 * ISO/IEC 9899:1990 Programming language - C. These are not currently
51 * required by any standard but constitute a useful, general purpose set
52 * of type definitions which is namespace clean with respect to all standards.
53 */
54

--- 292 unchanged lines hidden (view full) ---

347
348typedef uid_t gid_t; /* GID type */
349typedef id_t taskid_t; /* task ID type */
350typedef id_t projid_t; /* project ID type */
351typedef id_t poolid_t; /* pool ID type */
352typedef id_t zoneid_t; /* zone ID type */
353typedef id_t ctid_t; /* contract ID type */
354
44/*
45 * Include fixed width type declarations proposed by the ISO/JTC1/SC22/WG14 C
46 * committee's working draft for the revision of the current ISO C standard,
47 * ISO/IEC 9899:1990 Programming language - C. These are not currently
48 * required by any standard but constitute a useful, general purpose set
49 * of type definitions which is namespace clean with respect to all standards.
50 */
51

--- 292 unchanged lines hidden (view full) ---

344
345typedef uid_t gid_t; /* GID type */
346typedef id_t taskid_t; /* task ID type */
347typedef id_t projid_t; /* project ID type */
348typedef id_t poolid_t; /* pool ID type */
349typedef id_t zoneid_t; /* zone ID type */
350typedef id_t ctid_t; /* contract ID type */
351
352typedef uint32_t datalink_id_t;
353
355typedef ulong_t dev_t; /* expanded device type */
356
357#if !defined(_LP64) && defined(__cplusplus)
358typedef ulong_t nlink_t; /* file link type */
359typedef long pid_t; /* process id type */
360#else
361typedef uint_t nlink_t;
362typedef int pid_t;

--- 153 unchanged lines hidden ---
354typedef ulong_t dev_t; /* expanded device type */
355
356#if !defined(_LP64) && defined(__cplusplus)
357typedef ulong_t nlink_t; /* file link type */
358typedef long pid_t; /* process id type */
359#else
360typedef uint_t nlink_t;
361typedef int pid_t;

--- 153 unchanged lines hidden ---