| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | blockreading from a pipe |
Hello David!
DN> And Udo's original problem was reading an anonymous pipe along a
DN> command line. No joy with queues there, either.
Hmmz, is more or less correct.
I also found out that although my buffer is 8K (OS/2 doesn't give me more
bytes per read so a bigger buffer is of little use) my program sometimes
reads less bytes, even though It's reading in the middle of a file (I tried
piping the nodelist through it as a test).
Is this because of the asynchronousness (sp?) of the pipe?
Would it be possible to read 0 bytes although the program isn't at the end
of the file being piped, yet?
Can I increase this 8K limit somehow?
Blockread (pascal) is the fastest way of getting data (text) from stdin?
Greetz,
Udo
---
* Origin: (2:285/308.2)SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1 @PATH: 285/308 32 1 280/801 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.