Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 201 Bytes
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "libc_helper.h"
void safe_pipe(int pipefd[2]) {
if (pipe(pipefd) == -1) {
perror("[fatal] pipe() failed");
exit(1);
}
}
Jump to Line
Something went wrong with that request. Please try again.