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: drivers/FileBase.h
- Revision:
- 138:093f2bd7b9eb
- Parent:
- 128:9bcdf88f62b0
diff -r e1686b8d5b90 -r 093f2bd7b9eb drivers/FileBase.h --- a/drivers/FileBase.h Tue Feb 28 16:44:21 2017 +0000 +++ b/drivers/FileBase.h Tue Mar 14 16:20:51 2017 +0000 @@ -21,26 +21,6 @@ #include <cstdio> #include <cstring> -#if defined(__ARMCC_VERSION) || defined(__ICCARM__) -# define O_RDONLY 0 -# define O_WRONLY 1 -# define O_RDWR 2 -# define O_CREAT 0x0200 -# define O_TRUNC 0x0400 -# define O_APPEND 0x0008 - -# define NAME_MAX 255 - -typedef int mode_t; -typedef int ssize_t; -typedef long off_t; - -#else -# include <sys/fcntl.h> -# include <sys/types.h> -# include <sys/syslimits.h> -#endif - #include "platform/platform.h" #include "platform/SingletonPtr.h" #include "platform/PlatformMutex.h" @@ -57,7 +37,6 @@ class FileBase { public: FileBase(const char *name, PathType t); - virtual ~FileBase(); const char* getName(void);