Test Output |
***********************************************************************
*
/tset/POSIX.hdr/misc/errno/T.errno 3 Failed
Test Description:
The header file contains definitions for the symbolic constants
E2BIG,
EACCES, EAGAIN, EBADF, EBUSY, ECHILD, EDEADLK, EDOM, EEXIST,
EFAULT,
EFBIG, EINTR, EINVAL, EIO, EISDIR, EMFILE, EMLINK,
ENAMETOOLONG,
ENFILE, ENODEV, ENOENT, ENOEXEC, ENOLCK, ENOMEM, ENOSPC,
ENOSYS,
ENOTDIR, ENOTTY, ENOTEMPTY, ENXIO, EPERM, EPIPE, ERANGE, EROFS,
ESPIPE, ESRCH, EXDEV each of which has a unique, non-zero
value.
For POSIX01, UNIX03, and later modes:
In addition to the symbols listed above the header file
contains
definitions for the symbolic constants EADDRINUSE,
EADDRNOTAVAIL,
EAFNOSUPPORT, EALREADY, EBADMSG, ECANCELED, ECONNABORTED,
ECONNREFUSED, ECONNRESET, EDESTADDRREQ, EDQUOT,
EHOSTUNREACH,
EIDRM, EILSEQ, EINPROGRESS, EISCONN, ELOOP, EMSGSIZE,
EMULTIHOP,
ENETDOWN, ENETRESET, ENETUNREACH, ENOBUFS, ENOLINK, ENOMSG,
ENOPROTOOPT, ENOTCONN, ENOTRECOVERABLE, ENOTSOCK, ENOTSUP,
EOPNOTSUPP, EOVERFLOW, EOWNERDEAD, EPROTO, EPROTONOSUPPORT,
EPROTOTYPE, ESTALE, ETIMEDOUT, ETXTBSY, EWOULDBLOCK, each
of which
has a unique, positive, non-zero value, except that
EWOULDBLOCK
and EAGAIN may have the same value.
Note: in POSIX08 and UNIX10 modes ENOTSUP and EOPNOTSUP may
have
the same value.
Note: ENOTRECOVERABLE and EOWNERDEAD are not tested in
POSIX01 and
UNIX03 modes.
Test Strategy:
COMPILE program including header file <errno.h>.
VERIFY symbolic constants exist using #ifdef.
VERIFY that no two constants are the same.
VERIFY there were no compiler errors.
Test Information:
Constant not discrete:
ENOTSUP = 95
EOPNOTSUPP = 95
Feature test macros: -D_POSIX_C_SOURCE=200112
Compiler or run-time messages or results:
<NIL> (no results or messages produced)
Constant not discrete:
ENOTSUP = 95
EOPNOTSUPP = 95
Feature test macros: -D_POSIX_C_SOURCE=200112 -D_POSIX_SOURCE
Compiler or run-time messages or results:
<NIL> (no results or messages produced)
***********************************************************************
* |