3 ms·
Great article! I didn't know how to make named pipes just anonymous ones. I was recently messing around with Arduinos and Raspberry PI's - totally clueless ab
by binocarlos 13y ago
Great article! I didn't know how to make named pipes just anonymous ones.
I was recently messing around with Arduinos and Raspberry PI's - totally clueless about baud rates and Serial in general but had the bug so kept going, burned a few chips then a few more and finally did something that didn't smell of smoke : )
Then it went ding - the | in Linux was passing data one byte at a time like a Serial connection to an Arduino was. Somehow I've never looked at computers the same way since. Time to go play with some named pipes!
- ars 13y agoA named pipe will not change the buffer size. The way pipes work (both anonymous and named) is they send data in groups that are exactly as large as they came in. So probably something is using the write function with just one character at a time. The standard wrapper over write (i.e. the stdio functions like puts and printf) can be set to buffer the data first then write it out.