summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorHallvard B Furuseth <h.b.furuseth@usit.uio.no>1997-04-13 14:28:14 +0200
committerChip Salzenberg <chip@atlantic.net>1997-04-15 00:00:00 +1200
commit9010f3dde9d2f67a11bc3a0f3506440c77114d6b (patch)
tree81d8689a4bb6384e1b63f2aa3820db70e27da41a /perlio.c
parent169d69b2101f1566a86fde9666498d75598e84c5 (diff)
downloadperl-9010f3dde9d2f67a11bc3a0f3506440c77114d6b.tar.gz
Return a value from PerlIO_{,un}getc
private-msgid: 199704131228.OAA05695@bombur2.uio.no
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perlio.c b/perlio.c
index 0a0625cfba..ffdd3f0197 100644
--- a/perlio.c
+++ b/perlio.c
@@ -369,7 +369,7 @@ PerlIO_putc(f,ch)
PerlIO *f;
int ch;
{
- putc(ch,f);
+ return putc(ch,f);
}
#undef PerlIO_ungetc
@@ -378,7 +378,7 @@ PerlIO_ungetc(f,ch)
PerlIO *f;
int ch;
{
- ungetc(ch,f);
+ return ungetc(ch,f);
}
#undef PerlIO_read