write#

Write bytes from $buffer to $fd.

תקציר#

POSIX::write($fd, $data, length($data));

מה מוחזר#

The number of bytes actually written. A value less than $nbytes is not an error - common for pipes and sockets - and the caller must loop to write the rest.

הבדלים מן ה-upstream#

Fully compatible with upstream POSIX.