~petr-koupy/helenos/binutils-test

« back to all changes in this revision

Viewing changes to uspace/lib/posix/errno.h

  • Committer: Petr Koupy
  • Date: 2011-08-18 19:19:30 UTC
  • mfrom: (1130.1.11 devel)
  • Revision ID: petr.koupy@gmail.com-20110818191930-xzoc8gkvg3l2ln5r
Merge devel changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 * necessary to compare errno against abs(ECODE), because there is no
57
57
 * redefinition for such error codes.
58
58
 *
59
 
 * FIXME: maybe all HOS error codes should be redefined
 
59
 * XXX: maybe all HOS error codes should be redefined
60
60
 *
61
61
 * NOTE: This redefinition is slightly POSIX incompatible, since the
62
62
 *  specification requires the macro values to be usable in preprocessing
134
134
        POSIX_ENOTSUP = -ENOTSUP,
135
135
        POSIX_ENOTTY = __TOP_ERRNO + 37,
136
136
        POSIX_ENXIO = __TOP_ERRNO + 38,
137
 
        POSIX_EOPNOTSUPP = POSIX_ENOTSUP,
 
137
        POSIX_EOPNOTSUPP = __TOP_ERRNO + 39,
138
138
        POSIX_EOVERFLOW = -EOVERFLOW,
139
 
        POSIX_EOWNERDEAD = __TOP_ERRNO + 39,
 
139
        POSIX_EOWNERDEAD = __TOP_ERRNO + 40,
140
140
        POSIX_EPERM = -EPERM,
141
 
        POSIX_EPIPE = __TOP_ERRNO + 40,
142
 
        POSIX_EPROTO = __TOP_ERRNO + 41,
 
141
        POSIX_EPIPE = __TOP_ERRNO + 41,
 
142
        POSIX_EPROTO = __TOP_ERRNO + 42,
143
143
        POSIX_EPROTONOSUPPORT = -EPROTONOSUPPORT,
144
 
        POSIX_EPROTOTYPE = __TOP_ERRNO + 42,
 
144
        POSIX_EPROTOTYPE = __TOP_ERRNO + 43,
145
145
        POSIX_ERANGE = -ERANGE,
146
 
        POSIX_EROFS = __TOP_ERRNO + 43,
147
 
        POSIX_ESPIPE = __TOP_ERRNO + 44,
148
 
        POSIX_ESRCH = __TOP_ERRNO + 45,
149
 
        POSIX_ESTALE = __TOP_ERRNO + 46,
150
 
        POSIX_ETIME = __TOP_ERRNO + 47,
151
 
        POSIX_ETIMEDOUT = __TOP_ERRNO + 48,
152
 
        POSIX_ETXTBSY = __TOP_ERRNO + 49,
153
 
        POSIX_EWOULDBLOCK = POSIX_EAGAIN,
 
146
        POSIX_EROFS = __TOP_ERRNO + 44,
 
147
        POSIX_ESPIPE = __TOP_ERRNO + 45,
 
148
        POSIX_ESRCH = __TOP_ERRNO + 46,
 
149
        POSIX_ESTALE = __TOP_ERRNO + 47,
 
150
        POSIX_ETIME = __TOP_ERRNO + 48,
 
151
        POSIX_ETIMEDOUT = __TOP_ERRNO + 49,
 
152
        POSIX_ETXTBSY = __TOP_ERRNO + 50,
 
153
        POSIX_EWOULDBLOCK = __TOP_ERRNO + 51,
154
154
        POSIX_EXDEV = -EXDEV,
155
155
};
156
156