ref: 6a651b42ac8cdd639e6258dd24f097132983b4dc
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); }