Redirect output file descriptor 3 (not just 1 and 2)
David Terlinden
davidt at ttidca.UUCP
Thu Nov 22 00:38:32 AEST 1984
Use Bourne shell, not C shell. Just something like
prog 3>/dev/tty to shell and write(3, "hello!!!", 8); in C program
works fine.
More information about the Comp.lang.c
mailing list