mongoose/docs/c-api/util.h/mg_fopen.md

15 lines
282 B
Markdown
Raw Normal View History

---
title: "mg_fopen()"
decl_name: "mg_fopen"
symbol_kind: "func"
signature: |
FILE *mg_fopen(const char *path, const char *mode);
---
Open the given file and return a file stream.
`path` and `mode` should be UTF8 encoded.
Return value is the same as for the `fopen()` call.