xref: /linux/tools/build/feature/test-eventfd.c (revision 11c6cbe706f218a8dc7e1f962f12b3a52ddd33a9)
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
3 
4 #include <sys/eventfd.h>
5 
6 int main(void)
7 {
8 	return eventfd(0, EFD_NONBLOCK);
9 }
10