Mouse code for the MacroRat
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 17:41:27 by 1.7.2