ref: ff2ebe6cfdacd890a74a6d2f9b0acd062d2633b7 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; }