summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-eventfd.c
blob: f4de7ef00ccb6fb577181546c6a3287df424b80d (plain)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2018, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>

#include <sys/eventfd.h>

int main(void)
{
	return eventfd(0, EFD_NONBLOCK);
}