Testable functions relating to file input/output. More...
#include <stdbool.h>Go to the source code of this file.
Functions | |
| bool | edge_io_file_exists (const char *path) |
| Check if a file exists using underlying OS call. More... | |
| bool | edge_io_acquire_lock_for_socket (const char *path, int *lock_fd) |
| Acquires a lock file for the given Unix Domain socket path. The lock file will the given socket path with '.lock' appended to it. More... | |
| bool | edge_io_release_lock_for_socket (const char *path, int lock_fd) |
| Releases the lock and deletes the lock file for the Unix Domain socket. The lock file will the given socket path with '.lock' appended to it. More... | |
| int | edge_io_unlink (const char *path) |
| Removes the file for the given path. More... | |
Testable functions relating to file input/output.