Rework retarget opening
Rationalise layers a little more to add the POSIX standard fdopen(int) and a local open(FileHandle) to map a FileHandle to a POSIX file descriptor. fdopen(FileHandle) is now a composite of those two, rather than being a primitive. |
---|
|
platform/FileHandle.cpp |
---|
platform/FileHandle.h |
---|
platform/mbed_retarget.cpp |
---|
platform/mbed_retarget.h |
---|