Re: The size of result from vfork() + pipe()



Ken <bg2aw@xxxxxxxx> wrote:
Dear all,

I am using vfork()+pipe() to excute a system command, for example
"ifconfig LAN", and to get result by read the pipe. When my DRAM_SIZE
is configured as 8MB, I can get a full size of result, such as
440bytes, but when my DRAM_SIZE is configured as 16MB, I can only get a
incomplete result: 256bytes.

so do a second read to get the rest!

Can anyone tell me:
1. How to increase the size of pipe in uClinux?
2. Why does DRAM_SIZE incfluence the size of pipe?

My system configuration:

OS: uClinux
Processor: ARM946-ES
DRAM is 16MB

Thanks,

Kent
Email: bg2aw@xxxxxxxx

.



Relevant Pages

  • Re: Evening smoke 2/3/06
    ... see anyone else posting that it is in their pipe. ... Drinking a dram of ... Bushmills on the side. ...
    (alt.smokers.pipes)
  • Re: Adult Beverages
    ... Pipes and tobacco go well with adult beverages. ... I cannot see a diet cola or Dr. Pepper going well with quality pipe ... a dram of Laphroaig with a fine Balkan/English. ...
    (alt.smokers.pipes)