/usr/lib/help/standard-error-port is in scheme9 2013.11.26-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | S9 LIB (standard-error-port) ==> #<output-port>
(call-with-stderr procedure^1) ==> object
(with-output-to-stderr procedure^0) ==> unspecific
(load-from-library "standard-error.scm")
STANDARD-ERROR returns an output-file for accessing the Unix
standard error file descriptor (stderr). CALL-WITH-STDERR passes
that output-file to a unary procedure, which may use it for writing
data to stderr. WITH-OUTPUT-TO-STDERR temporarily sets the current
output port) to the stderr descriptor while running the given nullary
procedure. CALL-WITH-STDERR returns the value returned by PROCEDURE^1.
(call-with-stderr
(lambda (stderr)
(display "Something went wrong!" stderr)
(newline stderr))) ==> unspecific
|