slightly cleaner strlen, also seems to compile to better code
[oweals/musl.git] / src / linux / pipe2.c
1 #define _GNU_SOURCE
2 #include <unistd.h>
3 #include "syscall.h"
4
5 int pipe2(int fd[2], int flg)
6 {
7         return syscall(SYS_pipe2, fd, flg);
8 }