Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_46254178
rt-thread
提交
d4a1843c
R
rt-thread
项目概览
weixin_46254178
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d4a1843c
编写于
8月 20, 2017
作者:
B
Bernard Xiong
提交者:
GitHub
8月 20, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #820 from armink/fix_ibc_armlibc
Fix ibc armlibc
上级
b53e3c25
e515408d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
63 addition
and
61 deletion
+63
-61
components/libc/armlibc/sys/errno.h
components/libc/armlibc/sys/errno.h
+63
-61
未找到文件。
components/libc/armlibc/sys/errno.h
浏览文件 @
d4a1843c
...
...
@@ -6,73 +6,75 @@
#include <dfs_def.h>
/* using device error codes */
#define ENOENT
DFS_STATUS_ENOENT
#define EIO
DFS_STATUS_EIO
#define ENXIO
DFS_STATUS_ENXIO
#define EBADF
DFS_STATUS_EBADF
#define EAGAIN
DFS_STATUS_EAGAIN
#define ENOMEM
DFS_STATUS_ENOMEM
#define EBUSY
DFS_STATUS_EBUSY
#define EEXIST
DFS_STATUS_EEXIST
#define EXDEV
DFS_STATUS_EXDEV
#define ENODEV
DFS_STATUS_ENODEV
#define ENOTDIR
DFS_STATUS_ENOTDIR
#define EISDIR
DFS_STATUS_EISDIR
#define EINVAL
DFS_STATUS_EINVAL
#define ENOSPC
DFS_STATUS_ENOSPC
#define EROFS
DFS_STATUS_EROFS
#define ENOSYS
DFS_STATUS_ENOSYS
#define ENOTEMPTY
DFS_STATUS_ENOTEMPTY
#define ENOENT
DFS_STATUS_ENOENT
#define EIO
DFS_STATUS_EIO
#define ENXIO
DFS_STATUS_ENXIO
#define EBADF
DFS_STATUS_EBADF
#define EAGAIN
DFS_STATUS_EAGAIN
#define ENOMEM
DFS_STATUS_ENOMEM
#define EBUSY
DFS_STATUS_EBUSY
#define EEXIST
DFS_STATUS_EEXIST
#define EXDEV
DFS_STATUS_EXDEV
#define ENODEV
DFS_STATUS_ENODEV
#define ENOTDIR
DFS_STATUS_ENOTDIR
#define EISDIR
DFS_STATUS_EISDIR
#define EINVAL
DFS_STATUS_EINVAL
#define ENOSPC
DFS_STATUS_ENOSPC
#define EROFS
DFS_STATUS_EROFS
#define ENOSYS
DFS_STATUS_ENOSYS
#define ENOTEMPTY
DFS_STATUS_ENOTEMPTY
#else
/* error codes */
#define ENOENT
2
/* No such file or directory */
#define EIO
5
/* I/O error */
#define ENXIO
6
/* No such device or address */
#define EBADF
9
/* Bad file number */
#define EAGAIN
11
/* Try again */
#define ENOMEM
12
/* no memory */
#define EBUSY
16
/* Device or resource busy */
#define EEXIST
17
/* File exists */
#define EXDEV
18
/* Cross-device link */
#define ENODEV
19
/* No such device */
#define ENOTDIR
20
/* Not a directory */
#define EISDIR
21
/* Is a directory */
#define EINVAL
22
/* Invalid argument */
#define ENOSPC
28
/* No space left on device */
#define EROFS
30
/* Read-only file system */
#define ENOSYS
38
/* Function not implemented */
#define ENOTEMPTY
39
/* Directory not empty */
#define ENOENT
2
/* No such file or directory */
#define EIO
5
/* I/O error */
#define ENXIO
6
/* No such device or address */
#define EBADF
9
/* Bad file number */
#define EAGAIN
11
/* Try again */
#define ENOMEM
12
/* no memory */
#define EBUSY
16
/* Device or resource busy */
#define EEXIST
17
/* File exists */
#define EXDEV
18
/* Cross-device link */
#define ENODEV
19
/* No such device */
#define ENOTDIR
20
/* Not a directory */
#define EISDIR
21
/* Is a directory */
#define EINVAL
22
/* Invalid argument */
#define ENOSPC
28
/* No space left on device */
#define EROFS
30
/* Read-only file system */
#define ENOSYS
38
/* Function not implemented */
#define ENOTEMPTY
39
/* Directory not empty */
#endif
#define EPERM 1
/* Not super-user */
#define ESRCH 3
/* No such process */
#define EINTR 4
/* Interrupted system call */
#define EFAULT 14
/* Bad address */
#define ENFILE 23
/* Too many open files in system */
#define ERANGE 34
/* Math result not representable */
#define EDEADLK 45
/* Deadlock condition */
#define EBADMSG 77
/* Trying to read unreadable message */
#define EMSGSIZE 90
/* Message too long */
#define ENOPROTOOPT 92
/* Protocol not available */
#define EOPNOTSUPP 95
/* Operation not supported on transport endpoint */
#define EAFNOSUPPORT 97
/* Address family not supported by protocol */
#define EADDRINUSE 98
/* Address already in use */
#define EADDRNOTAVAIL 99
/* Cannot assign requested address */
#define ENETDOWN 100
/* Network is down */
#define ENETUNREACH 101
/* Network is unreachable */
#define ECONNABORTED 103
/* Software caused connection abort */
#define ECONNRESET 104
/* Connection reset by peer */
#define ENOBUFS 105
/* No buffer space available */
#define ENOTCONN 107
/* Transport endpoint is not connected */
#define EINPROGRESS 115
/* Operation now in progress */
#define ETIMEDOUT 116
/* Connection timed out */
#define EHOSTUNREACH 113
/* No route to host */
#define EALREADY 114
/* Operation already in progress */
#define ENOTSUP 134
/* Not supported */
#define ENSRNOTFOUND 163
/* Domain name not found */
#define EWOULDBLOCK EAGAIN
/* Operation would block */
#define EPERM 1
/* Not super-user */
#define ESRCH 3
/* No such process */
#define EINTR 4
/* Interrupted system call */
#define EACCES 13
/* Permission denied */
#define EFAULT 14
/* Bad address */
#define ENFILE 23
/* Too many open files in system */
#define ERANGE 34
/* Math result not representable */
#define EDEADLK 45
/* Deadlock condition */
#define EBADMSG 77
/* Trying to read unreadable message */
#define EMSGSIZE 90
/* Message too long */
#define ENOPROTOOPT 92
/* Protocol not available */
#define EOPNOTSUPP 95
/* Operation not supported on transport endpoint */
#define EAFNOSUPPORT 97
/* Address family not supported by protocol */
#define EADDRINUSE 98
/* Address already in use */
#define EADDRNOTAVAIL 99
/* Cannot assign requested address */
#define ENETDOWN 100
/* Network is down */
#define ENETUNREACH 101
/* Network is unreachable */
#define ECONNABORTED 103
/* Software caused connection abort */
#define ECONNRESET 104
/* Connection reset by peer */
#define ENOBUFS 105
/* No buffer space available */
#define EISCONN 106
/* Transport endpoint is already connected */
#define ENOTCONN 107
/* Transport endpoint is not connected */
#define EINPROGRESS 115
/* Operation now in progress */
#define ETIMEDOUT 116
/* Connection timed out */
#define EHOSTUNREACH 113
/* No route to host */
#define EALREADY 114
/* Operation already in progress */
#define ENOTSUP 134
/* Not supported */
#define ENSRNOTFOUND 163
/* Domain name not found */
#define EWOULDBLOCK EAGAIN
/* Operation would block */
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录