_types.h (176730) | _types.h (184413) |
---|---|
1/*- 2 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/sys/_types.h 176730 2008-03-02 07:39:22Z jeff $ | 26 * $FreeBSD: head/sys/sys/_types.h 184413 2008-10-28 13:44:11Z trasz $ |
27 */ 28 29#ifndef _SYS__TYPES_H_ 30#define _SYS__TYPES_H_ 31 32#include <sys/cdefs.h> 33#include <machine/_types.h> 34 --- 7 unchanged lines hidden (view full) --- 42typedef __uint64_t __fsblkcnt_t; 43typedef __uint64_t __fsfilcnt_t; 44typedef __uint32_t __gid_t; 45typedef __int64_t __id_t; /* can hold a gid_t, pid_t, or uid_t */ 46typedef __uint32_t __ino_t; /* inode number */ 47typedef long __key_t; /* IPC key (for Sys V IPC) */ 48typedef __int32_t __lwpid_t; /* Thread ID (a.k.a. LWP) */ 49typedef __uint16_t __mode_t; /* permissions */ | 27 */ 28 29#ifndef _SYS__TYPES_H_ 30#define _SYS__TYPES_H_ 31 32#include <sys/cdefs.h> 33#include <machine/_types.h> 34 --- 7 unchanged lines hidden (view full) --- 42typedef __uint64_t __fsblkcnt_t; 43typedef __uint64_t __fsfilcnt_t; 44typedef __uint32_t __gid_t; 45typedef __int64_t __id_t; /* can hold a gid_t, pid_t, or uid_t */ 46typedef __uint32_t __ino_t; /* inode number */ 47typedef long __key_t; /* IPC key (for Sys V IPC) */ 48typedef __int32_t __lwpid_t; /* Thread ID (a.k.a. LWP) */ 49typedef __uint16_t __mode_t; /* permissions */ |
50typedef int __accmode_t; /* access permissions */ |
|
50typedef int __nl_item; 51typedef __uint16_t __nlink_t; /* link count */ 52typedef __int64_t __off_t; /* file offset */ 53typedef __int32_t __pid_t; /* process [group] */ 54typedef __int64_t __rlim_t; /* resource limit - intentionally */ 55 /* signed, because of legacy code */ 56 /* that uses -1 for RLIM_INFINITY */ 57typedef __uint8_t __sa_family_t; --- 47 unchanged lines hidden --- | 51typedef int __nl_item; 52typedef __uint16_t __nlink_t; /* link count */ 53typedef __int64_t __off_t; /* file offset */ 54typedef __int32_t __pid_t; /* process [group] */ 55typedef __int64_t __rlim_t; /* resource limit - intentionally */ 56 /* signed, because of legacy code */ 57 /* that uses -1 for RLIM_INFINITY */ 58typedef __uint8_t __sa_family_t; --- 47 unchanged lines hidden --- |