minecraft-pi-reborn/libreborn/src/util/util.c
2022-03-14 19:09:25 -04:00

9 lines
203 B
C

#include <libreborn/util.h>
// Safe Version Of pipe()
void safe_pipe2(int pipefd[2], int flags) {
if (pipe2(pipefd, flags) != 0) {
ERR("Unable To Create Pipe: %s", strerror(errno));
}
}