aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-24 14:28:12 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-24 14:28:12 +0100
commitb6cb331523e4b4969f587293468d532d2bf3ef9c (patch)
tree9990f06a1ba9a7dd47f476a1866163615c0c4316
parentc2f52d8d9e76ea0df0246b0efabc96a68ceefea7 (diff)
downloadnihil-b6cb331523e4b4969f587293468d532d2bf3ef9c.tar.gz
nihil-b6cb331523e4b4969f587293468d532d2bf3ef9c.tar.bz2
nihil: export open_file
-rw-r--r--nihil/open_file.ccm4
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