OFLAGS
out.fd = ddop_open(out, out.name, O_RDWR | OFLAGS, DEFFILEMODE);
out.fd = ddop_open(out, out.name, O_WRONLY | OFLAGS,
if (OFLAGS(flags) & O_WRONLY) {
*retval = OFLAGS(fp->f_flag);