Function: file--close-stream
file--close-stream is a function defined in fileio.c.
Signature
(file--close-stream STREAM)
Documentation
Close the standard STREAM of the Emacs process.
STREAM can be one of the symbols stdin, stdout, or stderr.
This function is primarily intended for testing process machinery within Emacs.
Source Code
// Defined in /usr/src/emacs/src/fileio.c
{
CHECK_SYMBOL (stream);
FILE *fp = file_for_stream (stream);
fclose (fp);
return Qnil;
}