Home
last modified time | relevance | path

Searched refs:GET_ERRNO (Results 1 – 2 of 2) sorted by relevance

/components/lwp/
A Dlwp_syscall.c454 ret = GET_ERRNO(); in sys_read()
519 ret = GET_ERRNO(); in sys_write()
638 ret = GET_ERRNO(); in sys_open()
723 ret = GET_ERRNO(); in sys_openat()
1037 ret = GET_ERRNO(); in sys_select()
1126 ret = GET_ERRNO(); in sys_unlink()
3446 err = GET_ERRNO(); in _sys_clone()
3667 falival = GET_ERRNO(); in _sys_fork()
5291 ret = GET_ERRNO(); in sys_getpeername()
5358 ret = GET_ERRNO(); in sys_getsockname()
[all …]
A Dsyscall_generic.h43 #define GET_ERRNO() ({int _errno = rt_get_errno(); _errno > 0 ? -_errno : _errno;}) macro
45 #define _SYS_WRAP(func) ({int _ret = func; _ret < 0 ? GET_ERRNO() : _ret;})

Completed in 20 milliseconds