Re: The size of result from vfork() + pipe()
- From: jj@xxxxxxxxxxxxxx (Jim Jackson)
- Date: Tue, 19 Dec 2006 19:23:37 +0000 (UTC)
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
.
- Follow-Ups:
- References:
- The size of result from vfork() + pipe()
- From: Ken
- The size of result from vfork() + pipe()
- Prev by Date: Re: security on linux embedded
- Next by Date: Re: 4 digit unique number generator
- Previous by thread: The size of result from vfork() + pipe()
- Next by thread: Re: The size of result from vfork() + pipe()
- Index(es):
Relevant Pages
|