/* * All programs are given three open file descriptors * 0 == keyboard input (stdin) * 1 == screen output or standard out (stdout) * 2 == screen output or standard error (stderr) */ main (int argc, char **argv) { char num1, num2, total; num1 = '5'; write(1, &num1, 1); /* write( filedescriptor, pointer to buffer, size of buff */ }