j
k
j a
j l
On Sunday 27 April 2003 18:33, Raúl Gutiérrez Segalés wrote:
Hi, I am wondering how do I state in a C program that my input is comming from a pipe ? For example: ls | ./myprog
Hi,
I am wondering how do I state in a C program that my input is comming from a pipe ?
For example:
ls | ./myprog
You get that on standard input, file descriptor 0
Back to the thread
Back to the list