/* * Copyright (c) 2018-2020, Andreas Kling * Copyright (c) 2021, sin-ack * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include __BEGIN_DECLS int creat(char const* path, mode_t); int open(char const* path, int options, ...); int openat(int dirfd, char const* path, int options, ...); int fcntl(int fd, int cmd, ...); int create_inode_watcher(unsigned flags); int inode_watcher_add_watch(int fd, char const* path, size_t path_length, unsigned event_mask); int inode_watcher_remove_watch(int fd, int wd); __END_DECLS