Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pipes with Tcl and C

Status
Not open for further replies.

jwbruno

Programmer
Aug 19, 2002
2
BR
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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top