/* Construct a full filename from a directory and a relative filename.
- Copyright (C) 2001-2004, 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2001-2004, 2007-2010 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* Concatenate a directory filename, a relative filename and an optional
- suffix. Return a freshly allocated filename. */
+ suffix. Return a freshly allocated filename. Return NULL and set errno
+ upon memory allocation failure. */
extern char *concatenated_filename (const char *directory,
- const char *filename, const char *suffix);
+ const char *filename, const char *suffix);
+
+/* Concatenate a directory filename, a relative filename and an optional
+ suffix. Return a freshly allocated filename. */
+extern char *xconcatenated_filename (const char *directory,
+ const char *filename, const char *suffix);
#ifdef __cplusplus