getiop
static FILE *getiop(FILE *, rmutex_t *, mbstate_t *);
ret = getiop(fp, FPLOCK(fp), FPSTATE(fp));
ret = getiop(fp, NULL, FPSTATE(fp));