summaryrefslogtreecommitdiff
path: root/FL/filename.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-12-19 21:39:01 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-12-19 21:39:01 +0000
commit22953ccb02e273e251b3dc6cf7ac3324f03fb85e (patch)
treebc07645a53f04bdd25b787d958392c6fe24c5935 /FL/filename.H
parent9092dccab89901b7074f9340bc7984910a80128f (diff)
Added fl_filename_relative which uses an additional parameter instead of the current working directory. Now we can find a relative path without changing the cwd.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/filename.H')
-rw-r--r--FL/filename.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/filename.H b/FL/filename.H
index b9ca4f1be..1209a8771 100644
--- a/FL/filename.H
+++ b/FL/filename.H
@@ -63,6 +63,7 @@ FL_EXPORT char *fl_filename_setext(char *to, int tolen, const char *ext);
FL_EXPORT int fl_filename_expand(char *to, int tolen, const char *from);
FL_EXPORT int fl_filename_absolute(char *to, int tolen, const char *from);
FL_EXPORT int fl_filename_relative(char *to, int tolen, const char *from);
+FL_EXPORT int fl_filename_relative(char *to, int tolen, const char *from, const char *cwd);
FL_EXPORT int fl_filename_match(const char *name, const char *pattern);
FL_EXPORT int fl_filename_isdir(const char *name);