mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Stream Class Reference
[Drivers]
File stream. More...
#include <Stream.h>
Inherits mbed::FileLike.
Inherited by Serial.
Public Member Functions | |
| MBED_DEPRECATED_SINCE ("mbed-os-5.4","Replaced by FileLike::seek") virtual off_t lseek(off_t offset | |
| Move the file position to a given offset from a given location. | |
Detailed Description
File stream.
Synchronization level: Set by subclass
Definition at line 36 of file Stream.h.
Member Function Documentation
| MBED_DEPRECATED_SINCE | ( | "mbed-os-5.4" | , |
| "Replaced by FileLike::seek" | |||
| ) | [inherited] |
Move the file position to a given offset from a given location.
- Parameters:
-
offset The offset from whence to move to whence SEEK_SET for the start of the file, SEEK_CUR for the current file position, or SEEK_END for the end of the file.
- Returns:
- new file position on success, -1 on failure or unsupported
Generated on Tue Jul 12 2022 20:05:49 by
1.7.2
Helmut Tschemernjak
