On successful completion, proclear( ) returns 0; otherwise, it returns a non-zero value:
Syntax
int
proclear ( )
The proclear( ) function applies only to character-mode systems.
On character-mode systems, proclear( ) works whether the terminal is in raw or cooked mode. For more information on raw- and cooked-mode terminal I/O, see HostLanguage Call Interface.