| 28 | } |
| 29 | |
| 30 | int |
| 31 | eal_set_runtime_dir(const char *run_dir) |
| 32 | { |
| 33 | if (strlcpy(runtime_dir, run_dir, PATH_MAX) >= PATH_MAX) { |
| 34 | RTE_LOG(ERR, EAL, "Runtime directory string too long\n"); |
| 35 | return -1; |
| 36 | } |
| 37 | |
| 38 | return 0; |
| 39 | } |
| 40 | |
| 41 | /* Return a pointer to the configuration structure */ |
| 42 | struct rte_config * |
no test coverage detected