add test stub

This commit is contained in:
Joey Hess 2012-06-18 20:55:06 +00:00 committed by Joey Hess
parent d680ff7ef0
commit a11825a1f1

View file

@ -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));
}
*/