ref: 0aae832ac3f3ae5d136563e980e9c32ceb0d1444 dir: /sys/src/ape/lib/ap/stdio/fileno.c/
/* * Posix stdio -- fileno */ #include "iolib.h" int fileno(FILE *f){ if(f==NULL) return -1; else return f->fd; }