Lines Matching refs:errno
19 * sem_unlink will return -1 and set errno to EACCESS if the process has not
52 #include <errno.h>
114 if (errno == EPERM) {
142 if ((sem == SEM_FAILED) && (errno == EEXIST)) {
148 UNRESOLVED(errno, "Failed to create the semaphore");
155 UNRESOLVED(errno, "Failed to fork");
165 errno, strerror(errno));
185 if (errno != EACCES) {
188 errno, strerror(errno));
200 UNRESOLVED(errno, "Waitpid returned the wrong PID");
223 UNRESOLVED(errno, "Failed to unlink the semaphore");