1 /* Concatenate path components.
2 Copyright (C) 2018-2020 Free Software Foundation, Inc.
4 This program is free software: you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 3 of the License, or any
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <https://www.gnu.org/licenses/>. */
17 /* Written by Akim Demaille <akim@lrde.epita.fr>. */
27 /* Concatenate two paths together. PATH2 may be null, or empty, or
28 absolute: do what is right. Return a freshly allocated
31 xpath_join (const char *path1
, const char *path2
);
38 #endif /* _PATH_JOIN_H */