Searched defs:IO (Results 1 - 14 of 14) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/
H A DIO.pm3 package IO; package
11 XSLoader::load 'IO', $VERSION;
16 warnings::warnif('deprecated', qq{Parameterless "use IO" deprecated})
21 eval join("", map { "require IO::" . (/(\w+)/)[0] . ";\n" } @l)
31 IO - load various IO modules
35 use IO qw(Handle File); # loads IO modules, here IO::Handle, IO
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/
H A DFile.pm3 package IO::File;
7 IO::File - supply object methods for filehandles
11 use IO::File;
13 $fh = new IO::File;
19 $fh = new IO::File "> file";
25 $fh = new IO::File "file", "r";
31 $fh = new IO::File "file", O_WRONLY|O_APPEND;
45 C<IO::File> inherits from C<IO::Handle> and C<IO
[all...]
H A DSeekable.pm3 package IO::Seekable;
7 IO::Seekable - supply seek based methods for I/O objects
11 use IO::Seekable;
12 package IO::Something;
13 @ISA = qw(IO::Seekable);
17 C<IO::Seekable> does not have a constructor of its own as it is intended to
18 be inherited by other C<IO::Handle> based objects. It provides methods
26 IO::File, or C<undef> if this is not possible (eg an unseekable stream such
39 supported C<IO::Seekable> methods, which are just front ends for the
46 Seek the IO
[all...]
H A DPipe.pm0 # IO::Pipe.pm
7 package IO::Pipe;
11 use IO::Handle;
21 my $class = ref($type) || $type || "IO::Pipe";
38 (IO::Pipe::End->new(), IO::Pipe::End->new());
58 $save = IO::Handle->new_from_fd($io, $mode);
69 bless $io, "IO::Handle";
79 croak "IO::Pipe: Cannot spawn-NOWAIT: $err" if not $pid or $pid < 0;
83 croak "IO
[all...]
H A DPoll.pm2 # IO::Poll.pm
8 package IO::Poll;
11 use IO::Handle;
136 IO::Poll - Object interface to system poll call
140 use IO::Poll qw(POLLRDNORM POLLWRNORM POLLIN POLLHUP);
142 $poll = new IO::Poll;
153 C<IO::Poll> is a simple interface to the system level poll routine.
159 =item mask ( IO [, EVENT_MASK ] )
161 If EVENT_MASK is given, then, if EVENT_MASK is non-zero, IO is added to the
163 any event specified in EVENT_MASK. If EVENT_MASK is zero then IO wil
[all...]
H A DDir.pm0 # IO::Dir.pm
7 package IO::Dir;
15 use IO::File;
29 @_ >= 1 && @_ <= 2 or croak 'usage: new IO::Dir [DIRNAME]';
33 IO::Dir::open($dh, $_[0])
124 my $io = IO::File->new($file,O_CREAT | O_RDWR);
150 IO::Dir - supply object methods for directory handles
154 use IO::Dir;
155 $d = IO::Dir->new(".");
163 tie %dir, 'IO
[all...]
H A DSelect.pm0 # IO::Select.pm
7 package IO::Select;
240 IO::Select - OO interface to the select system call
244 use IO::Select;
246 $s = IO::Select->new();
253 @ready = IO::Select->new(@handles)->can_read(0);
257 The C<IO::Select> package implements an object approach to the system C<select>
258 function call. It allows the user to see what IO handles, see L<IO::Handle>,
278 Add the list of handles to the C<IO
[all...]
H A DSocket.pm0 # IO::Socket.pm
7 package IO::Socket;
11 use IO::Handle;
21 require IO::Socket::INET;
22 require IO::Socket::UNIX if ($^O ne 'epoc');
24 @ISA = qw(IO::Handle);
33 Exporter::export_to_level('IO::Socket', 1, $pkg, 'sockatmark');
63 croak 'IO::Socket: Cannot configure a generic socket'
66 croak "IO::Socket: Unsupported socket domain"
69 croak "IO
[all...]
H A DHandle.pm1 package IO::Handle;
5 IO::Handle - supply object methods for I/O handles
9 use IO::Handle;
11 $io = new IO::Handle;
17 $io = new IO::Handle;
23 use IO::Handle '_IOLBF';
32 C<IO::Handle> is the base class for all other IO handle classes. It is
33 not intended that objects of C<IO::Handle> would be created directly,
34 but instead C<IO
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/t/
H A DIO.t24 require_ok( 'IO' );
25 ok( @load, 'IO should call XSLoader::load()' );
26 is( $load[0][0], 'IO', '... loading the IO library' );
27 is( $load[0][1], $IO::VERSION, '... with the current .pm version' );
30 my @default = map { "IO/$_.pm" } qw( Handle Seekable File Pipe Socket Dir );
38 IO->import();
45 IO->import();
52 IO->import();
53 like( $warn, qr/^Parameterless "use IO" deprecate
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/Socket/
H A DUNIX.pm0 # IO::Socket::UNIX.pm
7 package IO::Socket::UNIX;
11 use IO::Socket;
15 @ISA = qw(IO::Socket);
19 IO::Socket::UNIX->register_domain( AF_UNIX );
72 IO::Socket::UNIX - Object interface for AF_UNIX domain sockets
76 use IO::Socket::UNIX;
80 C<IO::Socket::UNIX> provides an object interface to creating and using sockets
81 in the AF_UNIX domain. It is built upon the L<IO::Socket> interface and
82 inherits all the methods defined by L<IO
[all...]
H A DINET.pm0 # IO::Socket::INET.pm
7 package IO::Socket::INET;
11 use IO::Socket;
17 @ISA = qw(IO::Socket);
22 IO::Socket::INET->register_domain( AF_INET );
282 IO::Socket::INET - Object interface for AF_INET domain sockets
286 use IO::Socket::INET;
290 C<IO::Socket::INET> provides an object interface to creating and using sockets
291 in the AF_INET domain. It is built upon the L<IO::Socket> interface and
292 inherits all the methods defined by L<IO
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/t/
H A Dtime.t14 $INC{'IO/Socket.pm'} = 1;
15 $INC{'IO/Select.pm'} = 1;
16 $INC{'IO/Socket/INET.pm'} = 1;
23 # cannot use(), otherwise it will use IO::Socket and IO::Select
29 make_fail('IO::Socket::INET', 'new');
35 ok( $sock->isa('IO::Socket::INET'), 'should be an IO::Socket::INET object' );
41 ok( $sock->isa('IO::Socket::INET'), 'should be an IO
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperl.h1781 typedef struct io IO; typedef in typeref:struct:io

Completed in 67 milliseconds