server/src/util/path.h

11 lines
231 B
C
Raw Normal View History

#pragma once
2017-12-29 11:44:14 +01:00
#include <stddef.h>
#ifndef PATH_MAX
/* @see https://insanecoding.blogspot.no/2007/11/pathmax-simply-isnt.html */
#define PATH_MAX 260
#endif
2017-12-29 11:44:14 +01:00
char * path_join(const char *p1, const char *p2, char *dst, size_t len);