mg_fopen.md 282 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
---
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.