diff options
| author | Miguel <m.i@gmx.at> | 2018-10-11 02:14:52 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-11 02:14:52 +0200 |
| commit | 8b33f268b67455ded8d35f3c198425562173fa2e (patch) | |
| tree | 947e9b5503c0447f12f6d8d2c00c3b177dddef72 /userspace/reent.c | |
| parent | e2005fda57ea4da12754d67ba127b09508125395 (diff) | |
almost cross compliing c++
Diffstat (limited to 'userspace/reent.c')
| -rw-r--r-- | userspace/reent.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/userspace/reent.c b/userspace/reent.c new file mode 100644 index 0000000..9011b1e --- /dev/null +++ b/userspace/reent.c @@ -0,0 +1,10 @@ +#include <stdio.h> +#include <reent.h> + +int main() +{ + _REENT_INIT_PTR(_impure_ptr); + printf("reent struct size: %d bytes\n",sizeof(struct _reent)); + printf("reent pointer : 0x%08x\n",_impure_ptr); + printf("reent pointer : 0x%08x\n",_impure_ptr); +} |
