xref: /dflybsd-src/contrib/grep/lib/filenamecat.h (revision 91b9ed38d3db6a8a8ac5b66da1d43e6e331e259a)
1cf28ed85SJohn Marino /* Concatenate two arbitrary file names.
2cf28ed85SJohn Marino 
3*09d4459fSDaniel Fojt    Copyright (C) 1996-1997, 2003, 2005, 2007, 2009-2020 Free Software
4cf28ed85SJohn Marino    Foundation, Inc.
5cf28ed85SJohn Marino 
6cf28ed85SJohn Marino    This program is free software: you can redistribute it and/or modify
7cf28ed85SJohn Marino    it under the terms of the GNU General Public License as published by
8cf28ed85SJohn Marino    the Free Software Foundation; either version 3 of the License, or
9cf28ed85SJohn Marino    (at your option) any later version.
10cf28ed85SJohn Marino 
11cf28ed85SJohn Marino    This program is distributed in the hope that it will be useful,
12cf28ed85SJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
13cf28ed85SJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14cf28ed85SJohn Marino    GNU General Public License for more details.
15cf28ed85SJohn Marino 
16cf28ed85SJohn Marino    You should have received a copy of the GNU General Public License
17*09d4459fSDaniel Fojt    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
18cf28ed85SJohn Marino 
19cf28ed85SJohn Marino /* Written by Jim Meyering.  */
20cf28ed85SJohn Marino 
21cf28ed85SJohn Marino #if GNULIB_FILENAMECAT
22cf28ed85SJohn Marino char *file_name_concat (char const *dir, char const *base,
23cf28ed85SJohn Marino                         char **base_in_result);
24cf28ed85SJohn Marino #endif
25cf28ed85SJohn Marino 
26cf28ed85SJohn Marino char *mfile_name_concat (char const *dir, char const *base,
27cf28ed85SJohn Marino                          char **base_in_result);
28