Home
last modified time | relevance | path

Searched refs:SET_ERRNO (Results 1 – 7 of 7) sorted by relevance

/tools/include/nolibc/
A Derrno.h16 #define SET_ERRNO(v) do { errno = (v); } while (0) macro
19 #define SET_ERRNO(v) do { } while (0) macro
A Ddirent.h34 SET_ERRNO(EBADF); in fdopendir()
57 SET_ERRNO(EBADF); in closedir()
A Dstdio.h53 SET_ERRNO(EBADF); in fdopen()
75 SET_ERRNO(EINVAL); return NULL; in fopen()
92 SET_ERRNO(EBADF); in fileno()
106 SET_ERRNO(EBADF); in fflush()
121 SET_ERRNO(EBADF); in fclose()
557 SET_ERRNO(EILSEQ); in vsscanf()
A Dstdlib.h149 SET_ERRNO(ENOMEM); in calloc()
446 SET_ERRNO(EINVAL); in __strtox()
502 SET_ERRNO(ERANGE); in __strtox()
A Dsys.h44 ? (({ SET_ERRNO(-__sysret_arg); }), -1) /* ret -1 with errno = -arg */ \
99 SET_ERRNO(ENOMEM); in brk()
114 SET_ERRNO(ENOMEM); in sbrk()
/tools/include/nolibc/sys/
A Dmman.h45 SET_ERRNO(-(long)ret); in mmap()
64 SET_ERRNO(-(long)ret); in mremap()
A Dwait.h61 SET_ERRNO(ESRCH); in waitpid()

Completed in 11 milliseconds