1.11.2 STDIN/STDOUT Redirection
In C programs, STDIN/STDOUT/STDERR are redirected to the SYSIN/SYSOUT/SYSOUT file. If SYSIN is not defined or not accessible, redirection is not initiated.
If SYSOUT is not defined or not accessible, STDOUT/STDERR is redirected to the $APPDIR/SYSOUT file.
Parent topic: COBOL/C Runtime Support