| 434 | } posix_log_path_t; |
| 435 | |
| 436 | static void posix_log_path_close(posix_log_path_t *path) { |
| 437 | if (path && path->dir_fd >= 0) { |
| 438 | (void)close(path->dir_fd); |
| 439 | path->dir_fd = -1; |
| 440 | } |
| 441 | } |
| 442 | |
| 443 | static bool posix_log_path_open(const char *log_path, posix_log_path_t *path) { |
| 444 | size_t length = 0; |
no outgoing calls
no test coverage detected