REQUIRE_ERRNO
REQUIRE_ERRNO((ssize_t)mbstowcs(wbuf, t->data, SIZE-1), -1);
REQUIRE_ERRNO((ssize_t)wcstombs(buf, wbuf, SIZE-1), -1);
REQUIRE_ERRNO(sigaction(SIGABRT, &sa, NULL) != -1);
REQUIRE_ERRNO(sigemptyset(&ss) != -1);
REQUIRE_ERRNO(sigaddset(&ss, SIGABRT) != -1);
REQUIRE_ERRNO(sigprocmask(SIG_BLOCK, &ss, NULL) != -1);
REQUIRE_ERRNO(sigprocmask(SIG_UNBLOCK, &ss, NULL) != -1);
REQUIRE_ERRNO(hcreate(16));
REQUIRE_ERRNO(hcreate(16));
REQUIRE_ERRNO(hcreate(16));
REQUIRE_ERRNO(hcreate_r(16, &t) != 0);
REQUIRE_ERRNO(hcreate_r(16, &t));
REQUIRE_ERRNO(hcreate_r(16, &t));
REQUIRE_ERRNO(hcreate_r(16, &t));
REQUIRE_ERRNO(hcreate(16) != 0);
REQUIRE_ERRNO(fstat(fdm, &stm), -1);
REQUIRE_ERRNO(stat("/dev/ptyp0", &sts), -1);
REQUIRE_ERRNO(grantpt(fdm), -1);
REQUIRE_ERRNO(unlockpt(fdm), -1);
REQUIRE_ERRNO((pty = ptsname(fdm)), NULL);
REQUIRE_ERRNO((fds = open(pty, O_RDWR|O_NOCTTY)), -1);
REQUIRE_ERRNO(fstat(fds, &sts), -1);
REQUIRE_ERRNO(fstat(fdm, &stm), -1);
REQUIRE_ERRNO(ioctl(fdm, TIOCPTMGET, &ptm), -1);
REQUIRE_ERRNO(fstat(ptm.cfd, &stm), -1);
REQUIRE_ERRNO(stat(ptm.cn, &sts), -1);
REQUIRE_ERRNO(fstat(ptm.sfd, &stm), -1);
REQUIRE_ERRNO(stat(ptm.sn, &sts), -1);
REQUIRE_ERRNO(sigaction(SIGCHLD, &sa, NULL), -1);
REQUIRE_ERRNO(write(s, "Hello world\n", 12), -1);
REQUIRE_ERRNO(sigaction(SIGCHLD, &sa, NULL), -1);
REQUIRE_ERRNO(wait(NULL), -1);
REQUIRE_ERRNO(openpty(&m, &s, name, &term, NULL), -1);