summaryrefslogtreecommitdiff
path: root/Utility/libkqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utility/libkqueue.c')
-rw-r--r--Utility/libkqueue.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Utility/libkqueue.c b/Utility/libkqueue.c
index 999508f7e..cc001045b 100644
--- a/Utility/libkqueue.c
+++ b/Utility/libkqueue.c
@@ -63,3 +63,13 @@ int init_kqueue(const int fdcnt, const int *fdlist) {
signed int waitchange_kqueue(const int kq) {
return helper(kq, 0, NULL, NULL);
}
+
+/*
+main () {
+ int list[1];
+ int kq;
+ list[0]=open(".", O_RDONLY);
+ kq = init_kqueue(1, list);
+ printf("change: %i\n", waitchange_kqueue(kq));
+}
+*/