Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
dummy.c@1:26f20484cbdc, 2016-08-25 (annotated)
- Committer:
- pcercuei
- Date:
- Thu Aug 25 10:07:34 2016 +0000
- Revision:
- 1:26f20484cbdc
Add config.h and dummy.c containing empty functions
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| pcercuei | 1:26f20484cbdc | 1 | #include <stddef.h> |
| pcercuei | 1:26f20484cbdc | 2 | |
| pcercuei | 1:26f20484cbdc | 3 | typedef int ssize_t; |
| pcercuei | 1:26f20484cbdc | 4 | |
| pcercuei | 1:26f20484cbdc | 5 | void close(int fd) |
| pcercuei | 1:26f20484cbdc | 6 | { |
| pcercuei | 1:26f20484cbdc | 7 | } |
| pcercuei | 1:26f20484cbdc | 8 | |
| pcercuei | 1:26f20484cbdc | 9 | ssize_t read(int fd, void *buf, size_t count) |
| pcercuei | 1:26f20484cbdc | 10 | { |
| pcercuei | 1:26f20484cbdc | 11 | return -9; /* EBADF */ |
| pcercuei | 1:26f20484cbdc | 12 | } |
| pcercuei | 1:26f20484cbdc | 13 | |
| pcercuei | 1:26f20484cbdc | 14 | char *getcwd(char *buf) |
| pcercuei | 1:26f20484cbdc | 15 | { |
| pcercuei | 1:26f20484cbdc | 16 | return NULL; |
| pcercuei | 1:26f20484cbdc | 17 | } |