This is the final version of Mini Gateway for Automation and Security desgined for Renesas GR Peach Design Contest

Dependencies:   GR-PEACH_video GraphicsFramework HTTPServer R_BSP mbed-rpc mbed-rtos Socket lwip-eth lwip-sys lwip FATFileSystem

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Embed: (wiki syntax)

« Back to documentation index

Stream Class Reference

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

Definition at line 35 of file Stream.h.