If you want to share SYSPRINT with a C program, you must compile your PL/I code with the STDSYS option.
By default, DISPLAY statements use WTO’s to display their output. If you specify the DISPLAY(STD) compiler option, DISPLAY statements will use the C puts function to display their output. This can be particularly useful under z/OS UNIX.