The function
close
is implemented as a generic function. The default method for
close
provided by the
fundamental-stream
class sets a flag for
open-stream-p
. The result value for
close
is as per the Common Lisp ANSI specification.