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