summaryrefslogtreecommitdiff
path: root/make/check_eventfd.cpp
blob: 5fc72ee3b65c866655ab3bd22a4433bf8eb0a856 (plain)
1
2
3
4
5
6
#include <sys/eventfd.h>

int main() {
	int fd = eventfd(0, EFD_NONBLOCK);
	return (fd < 0);
}