Package: freebsd-manpages
Version: 6.0-4
Severity: normal
I sent the following message to Michael Kerrisk, upstream for Linux
manpages:
| syscall.2 says:
|
| |BUGS
| | There is no way to simulate system calls that have multiple
| | return values such as pipe(2).
|
| I don't understand the intent of this statement.
|
| pipe() doesn't have multiple "return values", although it has multiple
| "outputs".
|
| Other syscalls surely have comparable prototypes and effects.
|
| The first one I looked at, select(), does:
| int select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct
| +timeval *timeout);
|
| Each of {read,write,except}fds is a list of file descriptors.
|
| So, I wonder if it means to talk about fork() instead of pipe() (since
| fork really does have multiple and distinct return values).
He has removed that comment for the next release.
I also sent a message to [EMAIL PROTECTED], who I think is the original
author of the page, hoping to get this clarified for both Linux and
BSD manpages. freebsd-manpages has the same manpage (Linux manpages
seems to have just borrowed this). This bug is to track this problem.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]