mbed source development branch
Fork of mbed-dev by
Stream Class Reference
[Drivers]
File stream. More...
#include <Stream.h>
Inherits mbed::FileLike.
Inherited by Serial.
Protected Member Functions | |
virtual int | close () |
Close the file. | |
virtual ssize_t | write (const void *buffer, size_t length) |
Write the contents of a buffer to the file. | |
virtual ssize_t | read (void *buffer, size_t length) |
Function read Reads the contents of the file into a buffer. | |
virtual off_t | lseek (off_t offset, int whence) |
Move the file position to a given offset from a given location. | |
virtual int | isatty () |
Check if the handle is for a interactive terminal device. | |
virtual int | fsync () |
Flush any buffers associated with the FileHandle, ensuring it is up to date on disk. | |
virtual void | lock () |
Acquire exclusive access to this object. | |
virtual void | unlock () |
Release exclusive access to this object. |
Detailed Description
File stream.
Synchronization level: Set by subclass
Generated on Tue Jul 12 2022 19:34:54 by 1.7.2