diff options
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r-- | libgfortran/io/unix.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index 0fe8c4b..2f08aad 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -1640,6 +1640,12 @@ stream_ttyname (stream *s) #endif } +gfc_offset +stream_offset (stream *s) +{ + return (((unix_stream *) s)->logical_offset); +} + /* How files are stored: This is an operating-system specific issue, and therefore belongs here. There are three cases to consider. |