Searched refs:errno (Results 1 – 13 of 13) sorted by relevance
101 errno = -ENOMEM; in brk()120 errno = 0; in sbrk()135 errno = -EFAULT; in chdir()155 errno = -ENOENT; in execv()
2 int errno = 0; variable
23 pub fn from_posix_errno(errno: i32) -> Option<SystemError> {25 if errno >= 0 {28 return <Self as FromPrimitive>::from_i32(-errno);
34   当返回值为0时,表示正常初始化成功,否则返回对应的errno
212 let errno = inode.unwrap_err(); in do_mkdir() localVariable214 if errno == SystemError::ENOENT { in do_mkdir()224 return Err(errno); in do_mkdir()241 let errno = inode.unwrap_err(); in do_remove_dir() localVariable243 if errno == SystemError::ENOENT { in do_remove_dir()277 let errno = inode.clone().unwrap_err(); in do_unlink_at() localVariable279 if errno == SystemError::ENOENT { in do_unlink_at()
139 let errno = inode.unwrap_err(); in open() localVariable143 && errno == SystemError::ENOENT in open()155 return Err(errno); in open()
22 errno = __err_code; in syscall_invoke()
9 api-list/errno
48 - 修改errno,使其与relibc的保持一致 (#234)74 - 修复由于DragonOS不支持TLS(thread local storage)导致errno变量无法正常工作的问题. (#8)251 修改errno,使其与relibc的保持一致 (#234)253 修改errno,使其与relibc的保持一致
151 extern int errno;
1 # errno.h8 ``extern int errno`` : 通用错误代码
301 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()
179 ec = errno; in shell_cmd_cd()