10Sstevel@tonic-gate/* Return the canonical absolute name of a given file.
20Sstevel@tonic-gate   Copyright (C) 2003 Free Software Foundation, Inc.
30Sstevel@tonic-gate
40Sstevel@tonic-gate   This program is free software; you can redistribute it and/or modify
52830Sdjl   it under the terms of the GNU General Public License as published by
62830Sdjl   the Free Software Foundation; either version 2, or (at your option)
70Sstevel@tonic-gate   any later version.
80Sstevel@tonic-gate
90Sstevel@tonic-gate   This program is distributed in the hope that it will be useful,
100Sstevel@tonic-gate   but WITHOUT ANY WARRANTY; without even the implied warranty of
110Sstevel@tonic-gate   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
120Sstevel@tonic-gate   GNU General Public License for more details.
130Sstevel@tonic-gate
140Sstevel@tonic-gate   You should have received a copy of the GNU General Public License
150Sstevel@tonic-gate   along with this program; if not, write to the Free Software Foundation,
160Sstevel@tonic-gate   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
170Sstevel@tonic-gate
180Sstevel@tonic-gate/* Return a malloc'd string containing the canonical absolute name of the
190Sstevel@tonic-gate   named file.  The last file name component need not exist, and may be a
200Sstevel@tonic-gate   symlink to a nonexistent file.  */
210Sstevel@tonic-gateextern char *canonicalize_file_name (const char *name);
222830Sdjl