distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
openFile.cpp File Reference

openFile() definition More...

Include dependency graph for openFile.cpp:

Namespaces

 distortos
 Top-level namespace of distortos project.
 

Functions

int __sflags (_reent *reent, const char *mode, int *flags)
 
int distortos::anonymous_namespace{openFile.cpp}::fileClose (void *const cookie)
 Wrapper for File::close() which can be used with fopencookie() More...
 
ssize_t distortos::anonymous_namespace{openFile.cpp}::fileRead (void *const cookie, char *const buffer, const size_t size)
 Wrapper for File::read() which can be used with fopencookie() More...
 
int distortos::anonymous_namespace{openFile.cpp}::fileSeek (void *const cookie, off_t *const offset, const int whence)
 Wrapper for File::seek() which can be used with fopencookie() More...
 
ssize_t distortos::anonymous_namespace{openFile.cpp}::fileWrite (void *const cookie, const char *const buffer, const size_t size)
 Wrapper for File::write() which can be used with fopencookie() More...
 
std::pair< int, FILE * > distortos::openFile (FileSystem &fileSystem, const char *path, const char *mode)
 Opens file from given file system. More...
 

Detailed Description

openFile() definition

Author
Copyright (C) 2018-2019 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.