Skip to content

Commit 953a85b

Browse files
committed
[S32::IO] all .read methods should return a Buf. This is not C.
1 parent a455b11 commit 953a85b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

S32-setting-library/IO.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,11 +569,11 @@ $how can contain 1 or more of the strings 'Readable' and 'Writeable'.
569569

570570
method accept( --> IO::Socket)
571571

572-
=item method read($buf is rw, Int $bytes --> Int)
572+
=item method read(Int $bytes --> Buf)
573573

574574
Implements the IO::Readable interface by doing a I<recv(2)>.
575575

576-
=item method write($buf, Int $bytes --> Int)
576+
=item method write(Buf $buf --> Int)
577577

578578
Implements the IO::Writeable interface by doing a I<send(2)>.
579579

0 commit comments

Comments
 (0)