Searched refs:errno (Results 1 - 25 of 270) sorted by relevance

1234567891011

/darwin-on-arm/xnu/libsyscall/custom/
H A Derrno.c29 int errno; variable
H A Dmodule.mk4 errno.c
/darwin-on-arm/xnu/libsyscall/wrappers/
H A D_errno.h29 #include <sys/errno.h>
32 #undef errno macro
33 #define errno (*_libc_get_errno()) macro
H A D_libc_funcptr.c62 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 Dsema_tests.c29 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 Dxattr_tests.c35 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 Dmemory_tests.c119 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 Dsocket_tests.c42 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 Dtests.c79 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 Dshared_memory_tests.c32 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 Dkqueue_tests.c101 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 Dmisc.c38 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 D32bit_inode_tests.c58 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 Dlchown.c50 if (ret < 0 && errno == EOPNOTSUPP)
51 errno = ENOTSUP;
H A Dlisten.c50 if (ret < 0 && errno == EOPNOTSUPP)
51 errno = ENOTSUP;
H A Drecvmsg.c50 if (ret < 0 && errno == EOPNOTSUPP)
51 errno = ENOTSUP;
H A Dsocketpair.c52 if (ret < 0 && errno == EOPNOTSUPP)
53 errno = ENOTSUP;
H A Daccept.c51 if (ret < 0 && errno == EOPNOTSUPP)
52 errno = ENOTSUP;
H A Dbind.c51 if (ret < 0 && errno == EOPNOTSUPP)
52 errno = ENOTSUP;
H A Dconnect.c51 if (ret < 0 && errno == EOPNOTSUPP)
52 errno = ENOTSUP;
H A Dgetpeername.c51 if (ret < 0 && errno == EOPNOTSUPP)
52 errno = ENOTSUP;
H A Dgetsockname.c51 if (ret < 0 && errno == EOPNOTSUPP)
52 errno = ENOTSUP;
H A Dsendmsg.c51 if (ret < 0 && errno == EOPNOTSUPP)
52 errno = ENOTSUP;
/darwin-on-arm/xnu/tools/
H A Dcred_dump_backtraces.c12 #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 Dchmod.c45 if (res >= 0 || errno != EPERM || (mode & (S_ISUID | S_ISGID)) == 0)
49 if (res >= 0 || errno != EPERM)
54 if (res >= 0 || errno != EPERM)

Completed in 226 milliseconds

1234567891011