Subversion Repositories HelenOS

Rev

Rev 3022 | Rev 4537 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3022 Rev 4055
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
/* TODO: support threads/fibrils */
-
 
39
extern int _errno;
-
 
40
#define errno _errno
-
 
41
 
38
#include <kernel/errno.h>
42
#include <kernel/errno.h>
39
 
43
 
40
#define ENAMETOOLONG    (-256)
44
#define ENAMETOOLONG    (-256)
41
#define EISDIR      (-257)
45
#define EISDIR      (-257)
42
#define ENOTDIR     (-258)
46
#define ENOTDIR     (-258)
Line 44... Line 48...
44
#define EEXIST      (-260)
48
#define EEXIST      (-260)
45
#define ENOTEMPTY   (-261)
49
#define ENOTEMPTY   (-261)
46
#define EBADF       (-262)
50
#define EBADF       (-262)
47
#define ERANGE      (-263)
51
#define ERANGE      (-263)
48
#define EXDEV       (-264)
52
#define EXDEV       (-264)
-
 
53
#define EIO     (-265)
-
 
54
#define EMLINK      (-266)
49
 
55
 
50
#endif
56
#endif
51
 
57
 
52
/** @}
58
/** @}
53
 */
59
 */