summaryrefslogtreecommitdiff
path: root/gcc/ada/i-cstrea.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/i-cstrea.ads')
-rw-r--r--gcc/ada/i-cstrea.ads10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ada/i-cstrea.ads b/gcc/ada/i-cstrea.ads
index 8882a7d3de6..1a7e76a713b 100644
--- a/gcc/ada/i-cstrea.ads
+++ b/gcc/ada/i-cstrea.ads
@@ -42,6 +42,7 @@ package Interfaces.C_Streams is
subtype int is System.CRTL.int;
subtype long is System.CRTL.long;
subtype size_t is System.CRTL.size_t;
+ subtype ssize_t is System.CRTL.ssize_t;
subtype voids is System.Address;
NULL_Stream : constant FILEs;
@@ -153,9 +154,18 @@ package Interfaces.C_Streams is
origin : int) return int
renames System.CRTL.fseek;
+ function fseek64
+ (stream : FILEs;
+ offset : ssize_t;
+ origin : int) return int
+ renames System.CRTL.fseek64;
+
function ftell (stream : FILEs) return long
renames System.CRTL.ftell;
+ function ftell64 (stream : FILEs) return ssize_t
+ renames System.CRTL.ftell64;
+
function fwrite
(buffer : voids;
size : size_t;