Skip to content

eprint

Declaration

eprint :: fn (format: string, args: ...) s32

Description

Write string to the error output (stderr). Format string can include format specifiers % which are replaced by corresponding argument value passed in args. Value-string conversion is done automatically, we can pass values of any type as an arguments, even structures or arrays.

The eprint function accepts C-like escape sequences as \n, \t, \r, etc.

Arguments

  • format Formatting string.
  • args Additional values.

Result

Count of bytes printed out.

Declared in: print.bl