Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
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 11:03:21 by
