mirror of
https://github.com/fscotto/fsnap.git
synced 2026-11-26 03:09:51 +00:00
18 lines
261 B
C
18 lines
261 B
C
#ifndef UTILITY_H
|
|
#define UTILITY_H
|
|
|
|
#include <unistd.h>
|
|
#include <limits.h>
|
|
|
|
#ifdef PATH_MAX
|
|
static long pathmax = PATH_MAX;
|
|
#else
|
|
static long pathmax = 1024;
|
|
#endif
|
|
|
|
char *strconcat(const char *src, int n, ...);
|
|
|
|
char *resolve_path(const char *path);
|
|
|
|
#endif
|