HomeSort by relevance Sort by last modified time
    Searched refs:errno (Results 176 - 200 of 9577) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/ltp/testcases/kernel/controllers/cpuctl_fj/
cpuctl_fj_simple_echo.c 26 * The command "echo" can't return the errno. So we write this program to
38 #include <errno.h>
58 err(errno, "%s", argv[2]);
61 err(errno, "write error");
65 err(errno, "close error");
  /external/ltp/testcases/kernel/syscalls/ftruncate/
ftruncate03.c 25 * 1) ftruncate(2) returns -1 and sets errno to EINVAL if the specified
27 * 2) ftruncate(2) returns -1 and sets errno to EINVAL if the specified
29 * 3) ftruncate(2) returns -1 and sets errno to EBADF if the file descriptor
33 * ftruncate() should fail with return value -1 and set expected errno.
46 #include <errno.h>
86 printf("DEBUG: fd: %d ret: %d errno(%d) %s\n",
87 wjh_f, wjh_ret, errno, strerror(errno));
89 if (wjh_ret == -1 && errno == EINVAL) {
93 "ftruncate(socket)=%i (wanted -1), errno=%i (wanted EINVAL %i)"
    [all...]
  /external/ltp/testcases/kernel/syscalls/lstat/
lstat01.c 103 * Log the errno and Issue a FAIL message.
107 * Print errno log and/or timing stats if options given
115 #include <errno.h>
159 "lstat(%s, &statter) Failed, errno=%d : %s",
188 "open(%s, O_RDWR|O_CREAT,0700) Failed, errno=%d : %s",
189 fname, errno, strerror(errno));
191 tst_resm(TWARN, "close(%s) Failed, errno=%d : %s",
192 fname, errno, strerror(errno));
    [all...]
  /external/ltp/testcases/kernel/syscalls/sigsuspend/
sigsuspend01.c 42 * Log the errno and Issue a FAIL message.
50 * Print errno log and/or timing stats if options given
56 * -e : Turn on errno logging.
74 #include <errno.h>
165 "sigemptyset() failed, errno=%d : %s",
166 errno, strerror(errno));
170 "sigfillset() failed, errno=%d : %s",
171 errno, strerror(errno));
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
21-1.c 34 #include <errno.h>
59 } while (ret != 0 && errno == EINTR);
62 UNRESOLVED(errno, "failed to wait for the semaphore in child");
84 UNRESOLVED(errno, "Failed to open the semaphore");
98 UNRESOLVED(errno, "Failed to fork");
103 } while (ret != 0 && errno == EINTR);
106 UNRESOLVED(errno, "Failed to post the semaphore");
121 UNRESOLVED(errno, "Waitpid returned the wrong PID");
130 UNRESOLVED(errno, "Failed to close the semaphore");
16-1.c 47 #include <errno.h>
74 UNRESOLVED(errno, "Failed to open shared memory segment");
80 UNRESOLVED(errno, "Failed to open shared memory segment");
87 UNRESOLVED(errno, "Failed to size the shared memory segment");
93 UNRESOLVED(errno, "Failed to size the shared memory segment");
102 UNRESOLVED(errno, "Failed to mmap the shared memory segment");
110 UNRESOLVED(errno,
123 UNRESOLVED(errno, "Failed to fork");
149 UNRESOLVED(errno, "Waitpid returned the wrong PID");
168 UNRESOLVED(errno, "Failed to unlink the shared memory segment")
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fsync/
7-1.c 26 #include <errno.h>
37 strerror(errno));
41 if (fsync(fd[1]) == -1 && errno == EINVAL) {
49 strerror(errno));
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlockall/
5-1.c 17 #include <errno.h>
40 } else if (errno == EPERM) {
59 if (errno) {
60 perror("An errno occurs when calling sysconf().\n");
69 } else if (errno == EPERM) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
2-1.c 25 #include <errno.h>
39 strerror(errno),
40 errno);
47 strerror(errno),
48 errno);
58 strerror(errno),
59 errno);
67 strerror(errno),
68 errno);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
5-1.c 19 * sem_unlink will return -1 and set errno to ENAMETOOLONG when the semaphore
50 #include <errno.h>
113 UNRESOLVED(errno,
129 error = errno;
146 errno, strerror(errno));
166 UNRESOLVED(errno,
182 error = errno;
199 errno, strerror(errno));
    [all...]
2-2.c 46 #include <errno.h>
97 UNRESOLVED(errno, "Failed to reconnect the semaphore");
105 while (ret != 0 && errno == EINTR);
142 if ((sem == SEM_FAILED) && (errno == EEXIST)) {
148 UNRESOLVED(errno, "Failed to create the semaphore");
155 UNRESOLVED(errno, "Failed to fork");
172 UNRESOLVED(errno, "Failed to fork");
183 UNRESOLVED(errno, "Failed to fork");
189 UNRESOLVED(errno, "Failed to exec");
199 UNRESOLVED(errno, "Failed to unlink the semaphore")
    [all...]
  /external/selinux/libselinux/src/
freecon.c 4 #include <errno.h>
  /external/wayland/tests/
exec-fd-leak-checker.c 28 #include <errno.h>
39 errno = 0;
41 if ((errno == ERANGE && (v == LONG_MAX || v == LONG_MIN)) ||
42 (errno != 0 && v == 0) ||
  /hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/src/
platform_lib_gettid.cpp 34 #include <errno.h>
  /hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/src/
platform_lib_gettid.cpp 34 #include <errno.h>
  /system/core/adb/sysdeps/
errno.h 19 #include <errno.h>
27 // errno values differ between operating systems and between Linux architectures.
  /toolchain/binutils/binutils-2.27/libiberty/
getcwd.c 12 @code{NULL} and @code{errno} is set. If @var{pathname} is a null pointer,
25 #include <errno.h>
34 extern int errno;
49 errno = ERANGE;
55 errno = ENOMEM;
  /external/ltp/utils/sctp/func_tests/
test_1_to_1_shutdown.c 44 #include <sys/errno.h>
110 if (error != -1 || errno != EBADF)
112 "error:%d, errno:%d", error, errno);
121 filename, strerror(errno));
124 err_no = errno;
129 "error:%d, errno:%d", error, err_no);
133 errno = 0;
141 "error:%d, errno:%d", error, errno);
    [all...]
  /external/autotest/client/tests/rtc/src/
rtctest.c 23 #include <errno.h>
58 exit(errno);
66 if (errno == ENOTTY) {
72 exit(errno);
83 exit(errno);
102 exit(errno);
108 exit(errno);
119 exit(errno);
127 exit(errno);
149 if (errno == ENOTTY)
    [all...]
  /device/google/cuttlefish_common/common/libs/fs/
shared_fd.h 37 #include <errno.h>
128 * reported with a new, closed FileInstance with the errno set.
206 errno = 0;
208 errno_ = errno;
213 errno = 0;
215 errno_ = errno;
228 errno = 0;
230 errno_ = errno;
235 errno = 0;
237 errno_ = errno;
    [all...]
  /external/libdaemon/libdaemon/
dfork.c 32 #include <errno.h>
125 daemon_log(LOG_ERR, "dup(): %s", strerror(errno));
148 daemon_log(LOG_ERR, "sigemptyset() failed: %s", strerror(errno));
153 daemon_log(LOG_ERR, "sigaddset() failed: %s", strerror(errno));
158 daemon_log(LOG_ERR, "sigaction() failed: %s", strerror(errno));
163 daemon_log(LOG_ERR, "sigprocmask() failed: %s", strerror(errno));
165 saved_errno = errno;
167 errno = saved_errno;
173 daemon_log(LOG_ERR, "pipe() failed: %s", strerror(errno));
175 saved_errno = errno;
    [all...]
  /external/ltp/testcases/kernel/syscalls/readdir/
readdir01.c 101 * Log the errno and Issue a FAIL message.
105 * Print errno log and/or timing stats if options given
115 #include <errno.h>
195 "open(%s, O_RDWR|O_CREAT,0700) Failed, errno=%d : %s",
196 fname, errno, strerror(errno));
199 "write(%s, \"hello\\n\", 6) Failed, errno=%d : %s",
200 fname, errno, strerror(errno));
203 "close(%s) Failed, errno=%d : %s"
    [all...]
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl09.c 103 * Log the errno and Issue a FAIL message.
107 * Print errno log and/or timing stats if options given
116 #include <errno.h>
164 "fcntl(%s, F_SETLK, &flocks) flocks.l_type = %s Failed, errno=%d : %s",
185 "fcntl(%s, F_SETLK, &flocks) flocks.l_type = F_UNLCK Failed, errno=%d : %s",
216 "creat(%s, 0644) Failed, errno=%d : %s", fname, errno,
217 strerror(errno));
219 tst_brkm(TBROK, cleanup, "close(%s) Failed, errno=%d : %s",
220 fname, errno, strerror(errno))
    [all...]
fcntl10.c 103 * Log the errno and Issue a FAIL message.
107 * Print errno log and/or timing stats if options given
116 #include <errno.h>
164 "fcntl(%s, F_SETLKW, &flocks) flocks.l_type = %s Failed, errno=%d : %s",
183 "fcntl(%s, F_SETLKW, &flocks) flocks.l_type = F_UNLCK Failed, errno=%d : %s",
215 "creat(%s, 0644) Failed, errno=%d : %s", fname, errno,
216 strerror(errno));
218 tst_brkm(TBROK, cleanup, "close(%s) Failed, errno=%d : %s",
219 fname, errno, strerror(errno))
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
3-3.c 46 #include <errno.h>
104 UNRESOLVED(errno, "Failed to open shared memory segment");
111 UNRESOLVED(errno, "Failed to size the shared memory segment");
120 UNRESOLVED(errno, "Failed to mmap the shared memory segment");
129 UNRESOLVED(errno, "Failed to init the semaphore");
136 UNRESOLVED(errno, "Failed to fork");
145 UNRESOLVED(errno, "Failed to post the semaphore");
156 UNRESOLVED(errno, "Waitpid returned the wrong PID");
167 UNRESOLVED(errno, "Failed to get semaphore count");
179 UNRESOLVED(errno, "Failed to destroy the semaphore")
    [all...]

Completed in 767 milliseconds

1 2 3 4 5 6 78 91011>>