package POSIX;
-use vars qw($VERSION @ISA %EXPORT_TAGS @EXPORT_OK $AUTOLOAD);
+# use vars qw($VERSION @ISA %EXPORT_TAGS @EXPORT_OK $AUTOLOAD);
+(@ISA, %EXPORT_TAGS,@EXPORT_OK,$AUTOLOAD) = ();
use Carp;
use AutoLoader;
require DynaLoader;
@ISA = qw(Exporter DynaLoader);
-$VERSION = "1.02" ;
+$VERSION = $VERSION = "1.03" ;
%EXPORT_TAGS = (
);
-Exporter::export_tags();
+# Exporter::export_tags();
+for (values %EXPORT_TAGS) {
+ push @EXPORT, @$_;
+}
@EXPORT_OK = qw(
closedir opendir readdir rewinddir
sub getpgrp {
usage "getpgrp()" if @_ != 0;
- CORE::getpgrp($_[0]);
+ CORE::getpgrp;
}
sub getpid {
CORE::rmdir($_[0]);
}
+sub setbuf {
+ redef "IO::Handle::setbuf()";
+}
+
sub setgid {
usage "setgid(gid)" if @_ != 1;
$( = $_[0];
$< = $_[0];
}
+sub setvbuf {
+ redef "IO::Handle::setvbuf()";
+}
+
sub sleep {
usage "sleep(seconds)" if @_ != 1;
CORE::sleep($_[0]);