OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:REQUIRE_ERRNO
(Results
1 - 5
of
5
) sorted by relevancy
/src/tests/lib/libc/stdlib/
t_hsearch.c
76
#define
REQUIRE_ERRNO
(x) ATF_REQUIRE_MSG(x, "%s", strerror(errno))
91
REQUIRE_ERRNO
(hcreate(16) != 0);
139
REQUIRE_ERRNO
(hcreate(16));
174
REQUIRE_ERRNO
(hcreate(16));
195
REQUIRE_ERRNO
(hcreate(16));
246
REQUIRE_ERRNO
(hcreate_r(16, &t) != 0);
293
REQUIRE_ERRNO
(hcreate_r(16, &t));
328
REQUIRE_ERRNO
(hcreate_r(16, &t));
350
REQUIRE_ERRNO
(hcreate_r(16, &t));
/src/tests/lib/libc/ttyio/
t_ttyio.c
61
#define
REQUIRE_ERRNO
(x, v) ATF_REQUIRE_MSG(x != v, "%s: %s", #x, strerror(errno))
75
REQUIRE_ERRNO
(wait(NULL), -1);
99
REQUIRE_ERRNO
(openpty(&m, &s, name, &term, NULL), -1);
138
REQUIRE_ERRNO
(sigaction(SIGCHLD, &sa, NULL), -1);
141
REQUIRE_ERRNO
(write(s, "Hello world\n", 12), -1);
152
REQUIRE_ERRNO
(sigaction(SIGCHLD, &sa, NULL), -1);
t_ptm.c
49
#define
REQUIRE_ERRNO
(x, v) \
73
REQUIRE_ERRNO
(fstat(fdm, &stm), -1);
75
REQUIRE_ERRNO
(ioctl(fdm, TIOCPTMGET, &ptm), -1);
86
REQUIRE_ERRNO
(fstat(ptm.cfd, &stm), -1);
87
REQUIRE_ERRNO
(stat(ptm.cn, &sts), -1);
91
REQUIRE_ERRNO
(fstat(ptm.sfd, &stm), -1);
92
REQUIRE_ERRNO
(stat(ptm.sn, &sts), -1);
139
REQUIRE_ERRNO
(fstat(fdm, &stm), -1);
142
REQUIRE_ERRNO
(stat("/dev/ptyp0", &sts), -1);
148
REQUIRE_ERRNO
(grantpt(fdm), -1)
[
all
...]
/src/tests/lib/libc/setjmp/
t_threadjmp.c
82
#define
REQUIRE_ERRNO
(x) ATF_REQUIRE_MSG(x, "%s", strerror(errno))
123
REQUIRE_ERRNO
(sigaction(SIGABRT, &sa, NULL) != -1);
124
REQUIRE_ERRNO
(sigemptyset(&ss) != -1);
125
REQUIRE_ERRNO
(sigaddset(&ss, SIGABRT) != -1);
126
REQUIRE_ERRNO
(sigprocmask(SIG_BLOCK, &ss, NULL) != -1);
146
REQUIRE_ERRNO
(sigprocmask(SIG_UNBLOCK, &ss, NULL) != -1);
/src/tests/lib/libc/locale/
t_mbstowcs.c
70
#define
REQUIRE_ERRNO
(x, v) \
178
REQUIRE_ERRNO
((ssize_t)mbstowcs(wbuf, t->data, SIZE-1), -1);
179
REQUIRE_ERRNO
((ssize_t)wcstombs(buf, wbuf, SIZE-1), -1);
Completed in 14 milliseconds
Indexes created Wed Oct 01 12:09:54 GMT 2025