Skip to content

file_write_string

Declaration

file_write_string :: fn (file: File, data: string) usize

Description

Write content of passed string into the file. File must be valid file handle openned for writing. Function returns zero written bytes if writing is not possible.

Arguments

  • file File to be modified.
  • data String content.

Result:

Bytes written into file.

Declared in: file.bl