diff options
| author | Lexi Winter <lexi@le-fay.org> | 2025-06-24 14:28:12 +0100 |
|---|---|---|
| committer | Lexi Winter <lexi@le-fay.org> | 2025-06-24 14:28:12 +0100 |
| commit | b6cb331523e4b4969f587293468d532d2bf3ef9c (patch) | |
| tree | 9990f06a1ba9a7dd47f476a1866163615c0c4316 | |
| parent | c2f52d8d9e76ea0df0246b0efabc96a68ceefea7 (diff) | |
| download | nihil-b6cb331523e4b4969f587293468d532d2bf3ef9c.tar.gz nihil-b6cb331523e4b4969f587293468d532d2bf3ef9c.tar.bz2 | |
nihil: export open_file
| -rw-r--r-- | nihil/open_file.ccm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nihil/open_file.ccm b/nihil/open_file.ccm index a399474..0266177 100644 --- a/nihil/open_file.ccm +++ b/nihil/open_file.ccm @@ -17,8 +17,8 @@ namespace nihil { /* * Open the given file and return an fd for it. */ -auto open_file(std::filesystem::path const &filename, - int flags, int mode = 0777) +export auto open_file(std::filesystem::path const &filename, + int flags, int mode = 0777) -> std::expected<fd, std::error_code>; } // namespace nihil |
