commit | ded7408767c5c2b1d21386efff594bf369380fa8 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Mon May 21 15:22:51 2012 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Mon May 21 15:22:51 2012 -0700 |
tree | d70c4112a471c94d30d6e9b18928478cf2ca357f | |
parent | 5203298c5af47a7aaaa91c4d738463be62fd5ab4 [diff] |
[klibc] Add pipe2() system call pipe2() is like pipe() except we can set the O_CLOEXEC flag via a second argument. Unlike pipe(), noone seems to have seemed fit to create a completely ad hoc calling convention for pipe2(), so we can just define it in one simple place. Thank goodness. Signed-off-by: H. Peter Anvin <hpa@zytor.com>