Pike v8.0 release 1738

Method Stdio.Fd()->`<<()


Method `<<

Stdio.File res = Stdio.Fd() << data
Stdio.File res = Stdio.Fd() << data

Description

Write some data to a file.

If data is not a string, it is casted to string, and then written to the file.

Note

Throws an error if not all data could be written.

See also

write()