The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: Stream.h
- Revision:
- 8:00a04e5cd407
- Parent:
- 4:5d1359a283bc
- Child:
- 11:1c1ebd0324fa
--- a/Stream.h Fri Jan 23 16:26:21 2009 +0000 +++ b/Stream.h Tue Feb 03 18:02:02 2009 +0000 @@ -10,7 +10,7 @@ namespace mbed { -class Stream : protected FileLike { +class Stream : public FileLike { public: @@ -38,6 +38,8 @@ operator std::FILE*() { return _file; } + virtual const struct rpc_method *get_rpc_methods(); + protected: virtual int close(); @@ -46,6 +48,7 @@ virtual off_t lseek(off_t offset, int whence); virtual int isatty(); virtual int fsync(); + virtual off_t flen(); virtual int _putc(int c) = 0; virtual int _getc() = 0;