Implement Linux directory watching using inotify

This commit is contained in:
2025-10-29 20:25:45 +01:00
parent 08b990a16a
commit 0e6664ec47
2 changed files with 121 additions and 0 deletions
+9
View File
@@ -60,3 +60,12 @@ static void stk_module_unload(size_t index)
--module_count;
}
static void stk_free_file_list(char **list, size_t count)
{
size_t i;
for (i = 0; i < count; ++i)
free(list[i]);
free(list);
}