Changeset 0ffbed9 in mainline for uspace/lib/posix/sys/types.h


Ignore:
Timestamp:
2011-06-19T17:49:29Z (13 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
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.
Message:

Merge libposix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/sys/types.h

    rf48b637 r0ffbed9  
    11/*
    22 * Copyright (c) 2011 Jiri Zarevucky
     3 * Copyright (c) 2011 Petr Koupy
    34 * All rights reserved.
    45 *
     
    2728 */
    2829
     30/** @addtogroup libposix
     31 * @{
     32 */
     33/** @file
     34 */
     35
    2936#ifndef POSIX_SYS_TYPES_H_
    3037#define POSIX_SYS_TYPES_H_
    3138
    3239#include "../libc/sys/types.h"
    33 #include <task.h>
    3440
    35 typedef task_id_t pid_t;
     41typedef unsigned int posix_ino_t;
     42typedef unsigned int posix_nlink_t;
     43typedef unsigned int posix_uid_t;
     44typedef unsigned int posix_gid_t;
     45typedef aoff64_t posix_off_t;
     46typedef unsigned int posix_blksize_t;
     47typedef 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
    3658
    3759#endif /* POSIX_SYS_TYPES_H_ */
    3860
     61/** @}
     62 */
Note: See TracChangeset for help on using the changeset viewer.