epoc32/include/stdapis/sys/_types.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
    28 
    28 
    29 #ifndef _SYS__TYPES_H_
    29 #ifndef _SYS__TYPES_H_
    30 #define _SYS__TYPES_H_
    30 #define _SYS__TYPES_H_
    31 
    31 
    32 #include <sys/cdefs.h>
    32 #include <sys/cdefs.h>
    33 #include <machine/_types.h>
    33 #include <stdapis/machine/_types.h>
    34 
    34 
    35 /*
    35 /*
    36  * Standard type definitions.
    36  * Standard type definitions.
    37  */
    37  */
    38 typedef	__uint32_t	__blksize_t;	/* file block size */
    38 typedef	__uint32_t	__blksize_t;	/* file block size */
    42 typedef	__uint64_t	__fsblkcnt_t;
    42 typedef	__uint64_t	__fsblkcnt_t;
    43 typedef	__uint64_t	__fsfilcnt_t;
    43 typedef	__uint64_t	__fsfilcnt_t;
    44 typedef	__uint32_t	__gid_t;
    44 typedef	__uint32_t	__gid_t;
    45 typedef	__int64_t	__id_t;		/* can hold a gid_t, pid_t, or uid_t */
    45 typedef	__int64_t	__id_t;		/* can hold a gid_t, pid_t, or uid_t */
    46 typedef	__uint32_t	__ino_t;	/* inode number */
    46 typedef	__uint32_t	__ino_t;	/* inode number */
       
    47 
       
    48 #if defined(SYMBIAN_OE_LARGE_FILE_SUPPORT) && !defined(SYMBIAN_OE_NO_LFS)
       
    49 typedef __uint64_t	__ino64_t;	/* 64 bit inode number */
       
    50 #endif /* SYMBIAN_OE_LARGE_FILE_SUPPORT && !SYMBIAN_OE_NO_LFS */
       
    51 
    47 typedef	long		__key_t;	/* IPC key (for Sys V IPC) */
    52 typedef	long		__key_t;	/* IPC key (for Sys V IPC) */
    48 typedef	__int32_t	__lwpid_t;	/* Thread ID (a.k.a. LWP) */
    53 typedef	__int32_t	__lwpid_t;	/* Thread ID (a.k.a. LWP) */
    49 typedef	__uint16_t	__mode_t;	/* permissions */
    54 typedef	__uint16_t	__mode_t;	/* permissions */
    50 typedef	int		__nl_item;
    55 typedef	int		__nl_item;
    51 typedef	__uint16_t	__nlink_t;	/* link count */
    56 typedef	__uint16_t	__nlink_t;	/* link count */