/darwin-on-arm/xnu/libsyscall/custom/ |
H A D | errno.c | 29 int errno; variable
|
H A D | module.mk | 4 errno.c
|
/darwin-on-arm/xnu/libsyscall/wrappers/ |
H A D | _errno.h | 29 #include <sys/errno.h> 32 #undef errno macro 33 #define errno (*_libc_get_errno()) macro
|
H A D | _libc_funcptr.c | 62 void cthread_set_errno_self(int errno) __attribute__((visibility("hidden"))); 64 cthread_set_errno_self(int errno) argument 66 _libc_set_errno(errno);
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | sema_tests.c | 29 printf( "semget failed with error %d - \"%s\" \n", errno, strerror( errno) ); 36 printf( "semget failed with error %d - \"%s\" \n", errno, strerror( errno) ); 42 if (my_err != -1 || errno != E2BIG) { 43 printf( "semop did not fail with E2BIG - instead %d - \"%s\" \n", errno, strerror( errno) ); 55 printf( "semop failed with error %d - \"%s\" \n", errno, strerror( errno) ); 61 printf( "semctl failed with error %d - \"%s\" \n", errno, strerro [all...] |
H A D | xattr_tests.c | 35 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 52 printf( "setxattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); 59 printf( "listxattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); 72 printf( "getxattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); 85 printf( "removexattr failed with error %d - \"%s\" \n", errno, strerror( errno) ); [all...] |
H A D | memory_tests.c | 119 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 136 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 148 printf( "minherit failed with error %d - \"%s\" \n", errno, strerror( errno) ); 169 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) ); 181 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerro [all...] |
H A D | socket_tests.c | 42 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 48 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 83 printf( "socket call in parent failed with error %d - \"%s\" \n", errno, strerror( errno) ); 89 printf( "bind call in child failed with error %d - \"%s\" \n", errno, strerror( errno) ); 98 printf( "getsockname call in child failed with error %d - \"%s\" \n", errno, strerror( errno) ); [all...] |
H A D | tests.c | 79 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 98 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 132 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) ); 141 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 151 printf( "wait4 failed with errno [all...] |
H A D | shared_memory_tests.c | 32 printf( "shmget failed with error %d - \"%s\" \n", errno, strerror( errno) ); 39 printf( "shmat failed with error %d - \"%s\" \n", errno, strerror( errno) ); 48 printf( "shmctl failed with error %d - \"%s\" \n", errno, strerror( errno) ); 62 printf( "shmdt failed with error %d - \"%s\" \n", errno, strerror( errno) ); 109 my_err = errno; 123 printf( "ftruncate call failed with error %d - \"%s\" \n", errno, strerro [all...] |
H A D | kqueue_tests.c | 101 printf( "kevent call from consumer thread failed with error %d - \"%s\" \n", errno, strerror( errno) ); 121 printf( "kevent call to re-enable machport events failed with error %d - \"%s\" \n", errno, strerror( errno) ); 164 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 180 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 186 printf( "socketpair failed with errno %d - %s \n", errno, strerro [all...] |
H A D | misc.c | 38 if ( errno != EEXIST ) { 39 printf( "%s - open failed with errno %d - %s \n", 40 __FUNCTION__, errno, strerror( errno ) ); 53 if ( errno == ENOENT ) { 57 printf( "%s - open failed with errno %d - %s \n", 58 __FUNCTION__, errno, strerror( errno ) ); 92 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); [all...] |
H A D | 32bit_inode_tests.c | 58 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) ); 67 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 73 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); 94 printf( "open failed with error %d - \"%s\" \n", errno, strerror( errno) ); 180 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerro [all...] |
/darwin-on-arm/xnu/libsyscall/wrappers/legacy/ |
H A D | lchown.c | 50 if (ret < 0 && errno == EOPNOTSUPP) 51 errno = ENOTSUP;
|
H A D | listen.c | 50 if (ret < 0 && errno == EOPNOTSUPP) 51 errno = ENOTSUP;
|
H A D | recvmsg.c | 50 if (ret < 0 && errno == EOPNOTSUPP) 51 errno = ENOTSUP;
|
H A D | socketpair.c | 52 if (ret < 0 && errno == EOPNOTSUPP) 53 errno = ENOTSUP;
|
H A D | accept.c | 51 if (ret < 0 && errno == EOPNOTSUPP) 52 errno = ENOTSUP;
|
H A D | bind.c | 51 if (ret < 0 && errno == EOPNOTSUPP) 52 errno = ENOTSUP;
|
H A D | connect.c | 51 if (ret < 0 && errno == EOPNOTSUPP) 52 errno = ENOTSUP;
|
H A D | getpeername.c | 51 if (ret < 0 && errno == EOPNOTSUPP) 52 errno = ENOTSUP;
|
H A D | getsockname.c | 51 if (ret < 0 && errno == EOPNOTSUPP) 52 errno = ENOTSUP;
|
H A D | sendmsg.c | 51 if (ret < 0 && errno == EOPNOTSUPP) 52 errno = ENOTSUP;
|
/darwin-on-arm/xnu/tools/ |
H A D | cred_dump_backtraces.c | 12 #include <errno.h> 49 printf( "\terrno %d - \"%s\" \n", errno, strerror( errno ) ); 56 printf( "malloc error %d - \"%s\" \n", errno, strerror( errno ) ); 62 printf( "\terrno %d - \"%s\" \n", errno, strerror( errno ) );
|
/darwin-on-arm/xnu/libsyscall/wrappers/unix03/ |
H A D | chmod.c | 45 if (res >= 0 || errno != EPERM || (mode & (S_ISUID | S_ISGID)) == 0) 49 if (res >= 0 || errno != EPERM) 54 if (res >= 0 || errno != EPERM)
|