minecraft-pi-reborn/libreborn/src/util/util.c

9 lines
203 B
C
Raw Normal View History

2022-03-14 23:09:25 +00:00
#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));
}
}