Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.8/user/libs/libc/src/
Dunistd.c101 errno = -ENOMEM; in brk()
120 errno = 0; in sbrk()
135 errno = -EFAULT; in chdir()
155 errno = -ENOENT; in execv()
Derrno.c2 int errno = 0; variable
/DragonOS-0.1.8/docs/kernel/core_api/
Dcasting.md23 pub fn from_posix_errno(errno: i32) -> Option<SystemError> {
25 if errno >= 0 {
28 return <Self as FromPrimitive>::from_i32(-errno);
Ddata_structures.md34 &emsp;&emsp;当返回值为0时,表示正常初始化成功,否则返回对应的errno
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dcore.rs212 let errno = inode.unwrap_err(); in do_mkdir() localVariable
214 if errno == SystemError::ENOENT { in do_mkdir()
224 return Err(errno); in do_mkdir()
241 let errno = inode.unwrap_err(); in do_remove_dir() localVariable
243 if errno == SystemError::ENOENT { in do_remove_dir()
277 let errno = inode.clone().unwrap_err(); in do_unlink_at() localVariable
279 if errno == SystemError::ENOENT { in do_unlink_at()
Dsyscall.rs139 let errno = inode.unwrap_err(); in open() localVariable
143 && errno == SystemError::ENOENT in open()
155 return Err(errno); in open()
/DragonOS-0.1.8/user/libs/libsystem/
Dsyscall.c22 errno = __err_code; in syscall_invoke()
/DragonOS-0.1.8/docs/userland/libc/apis/
Dindex.rst9 api-list/errno
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.7.md48 - 修改errno,使其与relibc的保持一致 (#234)
74 - 修复由于DragonOS不支持TLS(thread local storage)导致errno变量无法正常工作的问题. (#8)
251 修改errno,使其与relibc的保持一致 (#234)
253 修改errno,使其与relibc的保持一致
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Derrno.h151 extern int errno;
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Derrno.md1 # errno.h
8 ``extern int errno`` : 通用错误代码
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs301 pub fn from_posix_errno(errno: i32) -> Option<SystemError> { in from_posix_errno()
303 if errno >= 0 { in from_posix_errno()
306 return <Self as FromPrimitive>::from_i32(-errno); in from_posix_errno()
/DragonOS-0.1.8/user/apps/shell/
Dcmd.c179 ec = errno; in shell_cmd_cd()