For the latest stable version, please use Emilua API 0.10!

system.err

Synopsis

local system = require "system"
system.err

Functions

write_some(self, buffer: byte_span) → integer

Write data to stderr and blocks current fiber until it completes or errs.

Returns the number of bytes written.

First argument is ignored and it’s only there to make it have a stream-like interface.

dup(self) → file_descriptor

Creates a new file descriptor that refers to STDERR_FILENO.

isatty(self) → boolean

See isatty(3).

tcgetpgrp(self) → integer

See tcgetpgrp(3).

tcsetpgrp(self, pgid_id: integer)

See tcsetpgrp(3).