Viewing File: /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/IO/SigGuard/send.pm

package IO::SigGuard;

sub send {
    $result = ( (@_ == 3) ? CORE::send( $_[0], $_[1], $_[2] ) : (@_ == 4) ? CORE::send( $_[0], $_[1], $_[2], $_[3] ) : die "Wrong args count! send(@_)" );

    #EINTR means the file pointer is unchanged.
    goto &send if !defined $result && $! == Errno::EINTR();

    return $result;
}

1;
Back to Directory File Manager