> Of course it can, and the manual page doesn't even suggest what you
> say.  It says:
> 
>      There is no way to simulate system calls that have multiple return values
>      such as pipe(2).

ok, sorry for the confusion then (though, how does one tell from
the manpage for pipe(2) what is going on there!)

        cheers
        luigi

> pipe(2) is a special case in that it returns two values rather than
> one.  The actual pipe(2) system call has *no* formal parameters; the
> unpacking of the two values returned into the declared C formal
> parameter is done by an assembly-language stub.  (This was done for
> reasons of speed; it is much faster to return two values than it is to
> copyout() a two-element array.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to