From b58e8bfe04f4f8bcbb18dd6cb7c01f4d44b1f9ec Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 Apr 2023 22:14:41 +0200 Subject: cmd_line: read executable name from /proc/self/exe --- src/file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/file.h') diff --git a/src/file.h b/src/file.h index a68f628..ec3701c 100644 --- a/src/file.h +++ b/src/file.h @@ -13,9 +13,9 @@ int rm_rf(const char *dir); int my_chdir(const char *dir, char **old); +char *my_readlink(const char *path); int file_exists(const char *path); - int file_read(int fd, char **output, size_t *len); #endif -- cgit v1.2.3