ensure that the compiler doesn't try to reorder around atomic ops
[oweals/musl.git] / src / unistd / pipe.c
1 #include <unistd.h>
2 #include "syscall.h"
3
4 int pipe(int fd[2])
5 {
6         return syscall1(__NR_pipe, (long)fd);
7 }