summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-28 10:46:58 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-28 10:46:58 +0000
commitcd1fc0d41bb8ca74dfd4944b87b8433706d3558e (patch)
treed3b1f9ca3667658f99dcd13643c0560786966793 /perlio.c
parent6c670c7ed4428d6d96ff225a8531e769e0c09375 (diff)
downloadperl-cd1fc0d41bb8ca74dfd4944b87b8433706d3558e.tar.gz
(Retracted by #20267)
p4raw-id: //depot/perl@20260
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/perlio.c b/perlio.c
index b0649df087..24293c04f9 100644
--- a/perlio.c
+++ b/perlio.c
@@ -2485,7 +2485,7 @@ PerlIOUnix_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count)
}
}
-IV
+Off_t
PerlIOUnix_seek(pTHX_ PerlIO *f, Off_t offset, int whence)
{
int fd = PerlIOSelf(f, PerlIOUnix)->fd;
@@ -3061,18 +3061,18 @@ PerlIOStdio_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count)
return got;
}
-IV
+Off_t
PerlIOStdio_seek(pTHX_ PerlIO *f, Off_t offset, int whence)
{
FILE *stdio = PerlIOSelf(f, PerlIOStdio)->stdio;
- return PerlSIO_fseek(stdio, offset, whence);
+ return fseek(stdio, offset, whence);
}
Off_t
PerlIOStdio_tell(pTHX_ PerlIO *f)
{
FILE *stdio = PerlIOSelf(f, PerlIOStdio)->stdio;
- return PerlSIO_ftell(stdio);
+ return ftell(stdio);
}
IV
@@ -3713,7 +3713,7 @@ PerlIOBuf_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count)
return written;
}
-IV
+Off_t
PerlIOBuf_seek(pTHX_ PerlIO *f, Off_t offset, int whence)
{
IV code;
@@ -3912,7 +3912,7 @@ PerlIOPending_close(pTHX_ PerlIO *f)
return PerlIO_close(f);
}
-IV
+Off_t
PerlIOPending_seek(pTHX_ PerlIO *f, Off_t offset, int whence)
{
/*