Rev 4537 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4537 | Rev 4668 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef LIBC_ERRNO_H_ |
35 | #ifndef LIBC_ERRNO_H_ |
36 | #define LIBC_ERRNO_H_ |
36 | #define LIBC_ERRNO_H_ |
37 | 37 | ||
- | 38 | #include <kernel/errno.h> |
|
38 | /* TODO: support threads/fibrils */ |
39 | #include <fibril.h> |
- | 40 | ||
39 | extern int _errno; |
41 | extern int _errno; |
40 | #define errno _errno |
- | |
41 | 42 | ||
42 | #include <kernel/errno.h> |
43 | #define errno _errno |
43 | 44 | ||
44 | #define EMFILE (-17) |
45 | #define EMFILE (-17) |
45 | #define ENAMETOOLONG (-256) |
46 | #define ENAMETOOLONG (-256) |
46 | #define EISDIR (-257) |
47 | #define EISDIR (-257) |
47 | #define ENOTDIR (-258) |
48 | #define ENOTDIR (-258) |