Availability:C-language interface function
int Sclosehook(void
(*hook)(IOSTREAM *s))Register a hook function to be called by Sclose()
just before the stream is deallocated. This is used internally to update
the Prolog administration of open streams on Sclose().