add test stub
This commit is contained in:
parent
d680ff7ef0
commit
a11825a1f1
1 changed files with 10 additions and 0 deletions
|
@ -63,3 +63,13 @@ int init_kqueue(const int fdcnt, const int *fdlist) {
|
||||||
signed int waitchange_kqueue(const int kq) {
|
signed int waitchange_kqueue(const int kq) {
|
||||||
return helper(kq, 0, NULL, NULL);
|
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));
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in a new issue