OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ESRCH
(Results
1 - 25
of
170
) sorted by null
1
2
3
4
5
6
7
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/
8-1.c
8
* Test that the killpg() function shall set errno to
ESRCH
if it is
29
if (errno !=
ESRCH
) {
31
("killpg did not set errno to
ESRCH
even though it was passed an invalid signal number.");
/external/strace/
upoke.c
36
if (errno !=
ESRCH
)
upeek.c
46
if (errno !=
ESRCH
) {
/external/ltp/testcases/kernel/syscalls/getpriority/
getpriority02.c
24
* 2) getpriority(2) fails with -1 and sets errno to
ESRCH
if no
45
{PRIO_PROCESS, INVAL_ID,
ESRCH
},
46
{PRIO_PGRP, INVAL_ID,
ESRCH
},
47
{PRIO_USER, INVAL_ID,
ESRCH
}
/bionic/libc/bionic/
pthread_setschedparam.cpp
42
if (tid == -1) return
ESRCH
;
52
if (tid == -1) return
ESRCH
;
clock_getcpuclockid.cpp
44
return
ESRCH
;
pthread_getcpuclockid.cpp
35
if (tid == -1) return
ESRCH
;
pthread_getschedparam.cpp
40
if (tid == -1) return
ESRCH
;
pthread_kill.cpp
41
if (tid == 0 || tid == -1) return
ESRCH
;
pthread_detach.cpp
39
return
ESRCH
;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
4-1.c
49
if (result == -1 && errno ==
ESRCH
) {
57
if (errno !=
ESRCH
) {
58
perror("errno is not
ESRCH
");
/external/ltp/testcases/kernel/containers/pidns/
pidns06.c
77
* Check to see if the errno was set to the expected, value of 3 :
ESRCH
80
if (ret == -1 && errno ==
ESRCH
) {
82
"with
ESRCH
\n", *par_pid);
85
"expected with
ESRCH
(%d) and a return value of -1. Got "
87
*par_pid,
ESRCH
, errno, strerror(errno), ret);
92
* Check to see if the errno was set to the expected, value of 3 :
ESRCH
95
if (ret == -1 && errno ==
ESRCH
) {
97
"with
ESRCH
\n");
100
"expected with
ESRCH
(%d) and a return value of -1. Got "
102
ESRCH
, errno, strerror(errno), ret)
[
all
...]
/external/ltp/testcases/open_posix_testsuite/functional/threads/include/
test.h
14
#define EOWNERDEAD
ESRCH
/external/strace/linux/aarch64/
set_scno.c
18
if (rc && errno !=
ESRCH
)
/external/strace/linux/arm/
set_scno.c
14
if (rc && errno !=
ESRCH
)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
3-1.c
79
if ((ret == 0) || (errno !=
ESRCH
)) {
86
if ((ret == 0) || (errno !=
ESRCH
)) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/
3-1.c
57
if (result == -1 && errno ==
ESRCH
) {
62
if (errno !=
ESRCH
) {
63
perror("Returned error is not
ESRCH
");
/bionic/libc/kernel/uapi/asm-generic/
errno-base.h
23
#define
ESRCH
3
/external/kernel-headers/original/uapi/asm-generic/
errno-base.h
7
#define
ESRCH
3 /* No such process */
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/
2-2.c
18
* 1) Send a signal to generate an
ESRCH
error.
20
* 2) Verify
ESRCH
error received and kill() returned -1.
38
*
ESRCH
41
if (
ESRCH
== errno) {
42
printf("
ESRCH
error received\n");
45
("kill() failed on
ESRCH
errno not set correctly\n");
49
printf("kill() did not fail on
ESRCH
\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
5-1.c
10
* -[
ESRCH
] No thread could be found corresponding to that thread ID
18
* 3. It should return an error code of [
ESRCH
], else test fails.
52
if (ret ==
ESRCH
) {
57
printf("Test FAILED: Returned error code other than [
ESRCH
]\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
4-2.c
13
* -[
ESRCH
] No thread could be found corresponding to that thread
21
* 4.Check the return value and make sure it is
ESRCH
62
if (ret !=
ESRCH
) {
64
("Test FAILED: Incorrect return code: %d instead of
ESRCH
\n",
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
5-1.c
15
* or the other valid error codes of EINVAL,
ESRCH
or EDEADLK,
43
if ((ret != EINVAL) && (ret !=
ESRCH
) && (ret != EDEADLK)) {
6-2.c
12
* -[
ESRCH
] No thread could be found corresponding to that thread ID
23
* Testing
ESRCH
29
* 3. Call pthread_join() again, it should give the error code
ESRCH
.
64
* It should give the error code of
ESRCH
.
67
if (ret !=
ESRCH
) {
68
printf("Test FAILED: Return code should be
ESRCH
, but is: "
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
11-1.c
9
* and errno is set to [
ESRCH
]
30
if (
ESRCH
== errno) {
31
printf("
ESRCH
error received\n");
34
("sigqueue() failed on
ESRCH
but errno not set correctly\n");
38
printf("sigqueue() did not return -1 on
ESRCH
\n");
Completed in 1231 milliseconds
1
2
3
4
5
6
7