Jilles Tjoelker dc570d5e56 Add pipe2() system call.
The pipe2() function is similar to pipe() but allows setting FD_CLOEXEC and
O_NONBLOCK (on both sides) as part of the function.

If p points to two writable ints, pipe2(p, 0) is equivalent to pipe(p).

If the pointer is not valid, behaviour differs: pipe2() writes into the
array from the kernel like socketpair() does, while pipe() writes into the
array from an architecture-specific assembler wrapper.

Reviewed by:	kan, kib
2013-05-01 22:42:42 +00:00
..
2013-03-27 10:11:43 +00:00
2013-03-22 13:36:03 +00:00
2013-01-01 18:29:25 +00:00
2013-05-01 22:42:42 +00:00
2012-06-02 08:47:26 +00:00
2013-03-15 09:19:19 +00:00
2012-04-18 07:02:53 +00:00
2013-04-11 13:05:38 +00:00
2013-04-14 00:59:56 +00:00
2012-10-05 18:42:50 +00:00
2013-03-29 08:32:49 +00:00
2012-10-18 15:39:29 +00:00
2013-05-01 20:10:21 +00:00
2012-02-25 14:31:25 +00:00