distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
openFile.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_FILESYSTEM_OPENFILE_HPP_
13 #define INCLUDE_DISTORTOS_FILESYSTEM_OPENFILE_HPP_
14 
15 #include <utility>
16 
17 #include <cstdio>
18 
19 namespace distortos
20 {
21 
22 class FileSystem;
23 
42 std::pair<int, FILE*> openFile(FileSystem& fileSystem, const char* path, const char* mode);
43 
44 } // namespace distortos
45 
46 #endif // INCLUDE_DISTORTOS_FILESYSTEM_OPENFILE_HPP_
Top-level namespace of distortos project.
Definition: buttons.hpp:33
std::pair< int, FILE * > openFile(FileSystem &fileSystem, const char *const path, const char *const mode)
Opens file from given file system.
Definition: openFile.cpp:163