Fs.writeΒΆ

write :: fn (handle: File, src: *u8, size: s64) (_0: s64, _1: Error) #inline

Write size bytes from raw buffer src into the file. Return count of bytes written into the buffer and OK on success, otherwise return error. src buffer size must be at least size bytes. No overflow checking is done.

Declared in: fs.bl