ref: 934d81ae4e55fb48f7d15ee7302d455f3ba33a82
dir: /sys/src/ape/lib/ap/stdio/fopen.c/
/* * pANS stdio -- fopen */ #include "iolib.h" FILE *fopen(const char *name, const char *mode){ FILE *f; if((f = _IO_newfile()) == NULL) return NULL; return freopen(name, mode, f); }