util/u_process: add util_get_process_exec_path

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4181>
This commit is contained in:
Pierre-Eric Pelloux-Prayer
2020-03-16 10:49:17 +01:00
parent 2cb965e5b6
commit f8f1413070
4 changed files with 141 additions and 0 deletions
+5
View File
@@ -28,7 +28,12 @@
#ifndef PROCESS_H
#define PROCESS_H
#include <stddef.h>
const char *
util_get_process_name(void);
size_t
util_get_process_exec_path(char* process_path, size_t len);
#endif