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

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.

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


Kent Email:

Reply to
Loading thread data ...

so do a second read to get the rest!

Reply to
Jim Jackson

Hi Jim,

Thank you vy much. By following your comments, I have goten all result from the pipe!


Reply to

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.