annotate lib/path-concat.h @ 5848:a48fb0e98c8c

*** empty log message ***
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 14 May 2005 06:03:57 +0000
parents c6450308f123
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4397
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
1 /* Concatenate two arbitrary pathnames.
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
2
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
3 Copyright (C) 1996, 1997, 2003 Free Software Foundation, Inc.
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
4
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
5 This program is free software; you can redistribute it and/or modify
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
6 it under the terms of the GNU General Public License as published by
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
7 the Free Software Foundation; either version 2, or (at your option)
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
8 any later version.
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
9
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
10 This program is distributed in the hope that it will be useful,
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
13 GNU General Public License for more details.
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
14
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
15 You should have received a copy of the GNU General Public License
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
16 along with this program; if not, write to the Free Software Foundation,
5848
a48fb0e98c8c *** empty log message ***
Paul Eggert <eggert@cs.ucla.edu>
parents: 4397
diff changeset
17 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
4397
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
18
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
19 /* Written by Jim Meyering. */
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
20
1170
8de2d981b46f Use PARAMS, not __P.
Jim Meyering <jim@meyering.net>
parents: 676
diff changeset
21 #if ! defined PATH_CONCAT_H_
8de2d981b46f Use PARAMS, not __P.
Jim Meyering <jim@meyering.net>
parents: 676
diff changeset
22 # define PATH_CONCAT_H_
8de2d981b46f Use PARAMS, not __P.
Jim Meyering <jim@meyering.net>
parents: 676
diff changeset
23
4397
c6450308f123 Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents: 1170
diff changeset
24 char *path_concat (const char *dir, const char *base, char **base_in_result);
1170
8de2d981b46f Use PARAMS, not __P.
Jim Meyering <jim@meyering.net>
parents: 676
diff changeset
25
8de2d981b46f Use PARAMS, not __P.
Jim Meyering <jim@meyering.net>
parents: 676
diff changeset
26 #endif