diff options
Diffstat (limited to 'newlib/libc/include/sys/_types.h')
-rw-r--r-- | newlib/libc/include/sys/_types.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h new file mode 100644 index 00000000000..8186f2d9d75 --- /dev/null +++ b/newlib/libc/include/sys/_types.h @@ -0,0 +1,15 @@ +/* ANSI C namespace clean utility typedefs */ + +/* This file defines various typedefs needed by the system calls that support + the C library. Basically, they're just the POSIX versions with an '_' + prepended. This file lives in the `sys' directory so targets can provide + their own if desired (or they can put target dependant conditionals here). +*/ + +#ifndef _SYS__TYPES_H +#define _SYS__TYPES_H + +typedef long _off_t; +typedef long _ssize_t; + +#endif /* _SYS__TYPES_H */ |