iomode2str
iomode2str(iomode), sizeof(buf), nread);
iomode2str(iomode), (int)nread, test_string + off,
warn("%s: read error", iomode2str(iomode));
warnx("%s: missing EOF", iomode2str(iomode));