aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/file.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-04-29 22:14:41 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-04-29 22:16:42 +0200
commitb58e8bfe04f4f8bcbb18dd6cb7c01f4d44b1f9ec (patch)
tree4c7afa46057e73d111e3ef9004a95205f66b0179 /src/file.h
parentdedupe command line routines (diff)
downloadcimple-b58e8bfe04f4f8bcbb18dd6cb7c01f4d44b1f9ec.tar.gz
cimple-b58e8bfe04f4f8bcbb18dd6cb7c01f4d44b1f9ec.zip
cmd_line: read executable name from /proc/self/exe
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h2
1 files changed, 1 insertions, 1 deletions
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