Changeset 0ffbed9 in mainline for uspace/lib/posix/sys/types.h
- Timestamp:
- 2011-06-19T17:49:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5974661
- Parents:
- f48b637 (diff), 32fb6944 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/sys/types.h
rf48b637 r0ffbed9 1 1 /* 2 2 * Copyright (c) 2011 Jiri Zarevucky 3 * Copyright (c) 2011 Petr Koupy 3 4 * All rights reserved. 4 5 * … … 27 28 */ 28 29 30 /** @addtogroup libposix 31 * @{ 32 */ 33 /** @file 34 */ 35 29 36 #ifndef POSIX_SYS_TYPES_H_ 30 37 #define POSIX_SYS_TYPES_H_ 31 38 32 39 #include "../libc/sys/types.h" 33 #include <task.h>34 40 35 typedef task_id_t pid_t; 41 typedef unsigned int posix_ino_t; 42 typedef unsigned int posix_nlink_t; 43 typedef unsigned int posix_uid_t; 44 typedef unsigned int posix_gid_t; 45 typedef aoff64_t posix_off_t; 46 typedef unsigned int posix_blksize_t; 47 typedef unsigned int posix_blkcnt_t; 48 49 #ifndef LIBPOSIX_INTERNAL 50 #define ino_t posix_ino_t 51 #define nlink_t posix_nlink_t 52 #define uid_t posix_uid_t 53 #define gid_t posix_gid_t 54 #define off_t posix_off_t 55 #define blksize_t posix_blksize_t 56 #define blkcnt_t posix_blkcnt_t 57 #endif 36 58 37 59 #endif /* POSIX_SYS_TYPES_H_ */ 38 60 61 /** @} 62 */
Note:
See TracChangeset
for help on using the changeset viewer.