Re: The size of result from vfork() + pipe()
- From: "Ken" <bg2aw@xxxxxxxx>
- Date: 21 Dec 2006 21:38:01 -0800
"Jim Jackson 写道:
"
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!
Hi Jim,
Thank you vy much.
By following your comments,
I have goten all result from the pipe!
Ken
.
- References:
- The size of result from vfork() + pipe()
- From: Ken
- Re: The size of result from vfork() + pipe()
- From: Jim Jackson
- The size of result from vfork() + pipe()
- Prev by Date: Re: CompactFlash IDE - not recognized
- Next by Date: kernel how to know the module used by another ?
- Previous by thread: Re: The size of result from vfork() + pipe()
- Next by thread: how to debug when modprobe module Segment fault
- Index(es):