commit | 3a1bbee36b773862e88c6f1895b607c0cd81b499 | [log] [tgz] |
---|---|---|
author | Keith Deacon <kdeacon@ti.com> | Tue Aug 31 16:16:01 2010 -0500 |
committer | Keith Deacon <kdeacon@ti.com> | Tue Aug 31 16:16:01 2010 -0500 |
tree | e41cd69c2dbf3370e4060988e6299b657ff0b632 | |
parent | a1727092595a65e4dd9d9a6bae3778ad8c31d77f [diff] [blame] |
Add eventfd system call support
diff --git a/libc/include/sys/eventfd.h b/libc/include/sys/eventfd.h new file mode 100644 index 0000000..0e142fd --- /dev/null +++ b/libc/include/sys/eventfd.h
@@ -0,0 +1,14 @@ +#ifndef _SYS_EVENTFD_H_ +#define _SYS_EVENTFD_H_ + +#include <sys/cdefs.h> +#include <asm/unistd.h> +#include <asm/termbits.h> + +__BEGIN_DECLS + +extern int eventfd(int count, int flags); + +__END_DECLS + +#endif /* _SYS_EVENTFD_H_ */