summaryrefslogtreecommitdiff
path: root/bits/types.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-15 17:41:38 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-15 17:41:38 -0700
commitde986b5636c6471580c4eb35e159512d797da112 (patch)
treea59d7b977a5ad75ee2ec94282e632e717bf22f69 /bits/types.h
parent85736dc78ba0a44d524961eef464e3690c67678a (diff)
Add __syscall_slong_t and __syscall_ulong_t
Diffstat (limited to 'bits/types.h')
-rw-r--r--bits/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bits/types.h b/bits/types.h
index ae79a6f47a..34880a926f 100644
--- a/bits/types.h
+++ b/bits/types.h
@@ -179,6 +179,11 @@ __STD_TYPE __FSFILCNT64_T_TYPE __fsfilcnt64_t;
__STD_TYPE __SSIZE_T_TYPE __ssize_t; /* Type of a byte count, or error. */
+/* Signed long type used in system calls. */
+__STD_TYPE __SYSCALL_SLONG_TYPE __syscall_slong_t;
+/* Unsigned long type used in system calls. */
+__STD_TYPE __SYSCALL_ULONG_TYPE __syscall_ulong_t;
+
/* These few don't really vary by system, they always correspond
to one of the other defined types. */
typedef __off64_t __loff_t; /* Type of file sizes and offsets (LFS). */