summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-02-02 17:10:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-02-02 17:10:33 +0000
commita41ecaa8490fcdab7d487faf0073f6ffc801e2d2 (patch)
tree285c80b7ad0a454595960440ea764bd26b28690e /ext/POSIX
parentabfd95220a96179402296ede7eef990961095eff (diff)
downloadperl-a41ecaa8490fcdab7d487faf0073f6ffc801e2d2.tar.gz
POSIX::redef setv?buf() to IO::Handle:: (by gbarr).
p4raw-id: //depot/cfgperl@2794
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/POSIX.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/POSIX/POSIX.pm b/ext/POSIX/POSIX.pm
index 76455f70dd..84298cb69a 100644
--- a/ext/POSIX/POSIX.pm
+++ b/ext/POSIX/POSIX.pm
@@ -899,6 +899,10 @@ sub rmdir {
CORE::rmdir($_[0]);
}
+sub setbuf {
+ redef "IO::Handle::setbuf()";
+}
+
sub setgid {
usage "setgid(gid)" if @_ != 1;
$( = $_[0];
@@ -909,6 +913,10 @@ sub setuid {
$< = $_[0];
}
+sub setvbuf {
+ redef "IO::Handle::setvbuf()";
+}
+
sub sleep {
usage "sleep(seconds)" if @_ != 1;
CORE::sleep($_[0]);