octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: New function proposal


From: michael . goffioul
Subject: RE: Re: New function proposal
Date: Thu, 15 Feb 2007 10:00:34 +0100

>> [IN, OUT, ERR, MSG] = pipe ()
>>
> Michael,
> Do you have a version of your patch for popen2/pipe that take into
> account all of John's comments? If so I'll test it under linux...

No, I'm not working on "pipe". "pipe" is currently not supported under
MSVC, because it does not have a POSIX pipe. It has however the
following:
 
    _pipe (int *fildes, int size, int mode)
 
where size is the internal pipe buffer size and mode specifies the binary/text
mode and inheritance. Making "pipe" work under MSVC is quite easy,
but I don't know which default values to use for the additional arguments,
especially the pipe size.
 
Concerning popen2, I'm working on it. Still I'm wondering whether I should
keep the interface I added in octave_syscalls and move the implementation
into a private octave_popen2 function in lo-sysdeps.cc; or drop the interface
in octave_syscalls class and export directly octave_popen2 from lo-sysdeps.cc
as a stand-alone function.
 
Michael.
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]