Hi everyone,
I am having trouble with pipes. When i send to my C program a String bigger than 1 char, the tcl stops (The C should just get this string and print it out, i tried to use gets and scanf("%s" both). I think the buffer isnt filled(But why it would send just 1 char and WORK?), or the C Program not recieving (I´m flushing the pipe at every pipe´s use).
Thanks for All Help
jwbruno
(Thanks Ulis for prior Help)
I am having trouble with pipes. When i send to my C program a String bigger than 1 char, the tcl stops (The C should just get this string and print it out, i tried to use gets and scanf("%s" both). I think the buffer isnt filled(But why it would send just 1 char and WORK?), or the C Program not recieving (I´m flushing the pipe at every pipe´s use).
Thanks for All Help
jwbruno
(Thanks Ulis for prior Help)