From 29495ab53bebbdfde86dc9488acfe236d3669e57 Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Sat, 14 Oct 2006 21:29:25 +0000 Subject: Add and use the function make_abs_path. realpath didn't fit my needs. make_abs_path doesn't need the directories to actually exist in the file system. --- misc/subr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'misc/subr.h') diff --git a/misc/subr.h b/misc/subr.h index 8ef962c..fd9e002 100644 --- a/misc/subr.h +++ b/misc/subr.h @@ -36,5 +36,6 @@ int write_fully(int fd, const void *buf, size_t len); void *read_file(const char *path, void *buf, size_t *size); char *find_btpd_dir(void); +int make_abs_path(const char *in, char *out); #endif -- cgit 1.4.1