aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/file.c
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-12-26 11:44:15 +0100
committerEgor Tensin <egor@tensin.name>2024-12-26 11:44:15 +0100
commitb4df6f859a2c0804069a7c2fe26656d982828b1a (patch)
treed66be4321a52f609d04df1eb3ef27db541b172b3 /src/file.c
parentMakefile: remove obsolete comment (diff)
downloadcimple-b4df6f859a2c0804069a7c2fe26656d982828b1a.tar.gz
cimple-b4df6f859a2c0804069a7c2fe26656d982828b1a.zip
file: rename syscall wrappers
Diffstat (limited to 'src/file.c')
-rw-r--r--src/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.c b/src/file.c
index a0a8f8a..90ee905 100644
--- a/src/file.c
+++ b/src/file.c
@@ -36,7 +36,7 @@ int rm_rf(const char *dir)
return nftw(dir, unlink_cb, 64, FTW_DEPTH | FTW_PHYS);
}
-int my_chdir(const char *dir, char **old)
+int chdir_wrapper(const char *dir, char **old)
{
int ret = 0;
@@ -63,7 +63,7 @@ free_old:
return ret;
}
-char *my_readlink(const char *path)
+char *readlink_wrapper(const char *path)
{
size_t current_size = 256;
char *buf = NULL;