IO
getfdtype(IO *io)
static void getfdtype(IO *);
IO in, out; /* input/output state */
extern IO in, out;
DEFINE_ERROR(IO, "I/O error"),
LIBELF_SET_ERROR(IO, errno);
LIBELF_SET_ERROR(IO, errno);
LIBELF_SET_ERROR(IO, errno);
LIBELF_SET_ERROR(IO, errno);
LIBELF_SET_ERROR(IO, errno);
LIBELF_SET_ERROR(IO, errno);
LIBELF_SET_ERROR(IO, errno);
m = MODE(type, IO);