z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Defining standard input, output, and error streams for BPXBATCH

z/OS UNIX System Services User's Guide
SA23-2279-00

z/OS XL C/C++ programs require that the standard streams, stdin, stdout, and stderr, be defined as either a file or a terminal. Many C functions use stdin, stdout, and stderr. For example:
  • getchar() obtains a character from stdin.
  • printf() writes output to stdout.
  • perror() writes output to stderr.
(For more information about stdin, stdout, and stderr, see Understanding standard input, standard output, and standard error.)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014