mongoose/docs/c-api/util.h/mg_open.md
Dmitry Frank 849ec1684a Apply Mongoose docs edits by Ev
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
2016-07-26 15:06:04 +00:00

15 lines
272 B
Markdown

---
title: "mg_open()"
decl_name: "mg_open"
symbol_kind: "func"
signature: |
int mg_open(const char *path, int flag, int mode);
---
Opens the given file and returns a file stream.
`path` should be UTF8 encoded.
Return value is the same as for the `open()` syscall.