fixed. Support building in one binary

This commit is contained in:
Your Name 2024-07-09 22:33:45 +03:00
parent 7d0207ace2
commit 33b89e64da
38 changed files with 285 additions and 163 deletions

9
libmu/get_stat.h Normal file
View file

@ -0,0 +1,9 @@
#ifndef _GET_STAT_H
#define _GET_STAT_H
#include <sys/stat.h>
int mu_get_stat(const char *prog_name, const char *path, struct stat *stat_path);
int mu_get_lstat(const char *prog_name, const char *path, struct stat *stat_path);
int mu_get_stats(const char *prog_name, int flag, const char *path, struct stat *stat_path);
#endif