1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2016 Intel Corporation
10 #include "eal_filesystem.h"
11 #include "eal_internal_cfg.h"
14 rte_eal_primary_proc_alive(const char *config_file_path)
19 config_fd = open(config_file_path, O_RDONLY);
23 path = eal_runtime_config_path();
24 config_fd = open(path, O_RDONLY);
29 int ret = lockf(config_fd, F_TEST, 0);