pcb 4.1.1
An interactive printed circuit board layout editor.

lrealpath.c File Reference

Libiberty realpath. More...

#include "config.h"
#include "lrealpath.h"
Include dependency graph for lrealpath.c:

Go to the source code of this file.

Functions

char * lrealpath (const char *filename)
 A well-defined realpath () that is always compiled in.

Detailed Description

Libiberty realpath.

Like realpath, but more consistent behavior.

Based on gdb_realpath from GDB.

Copyright 2003 Free Software Foundation, Inc.

This file is part of the libiberty library.

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 the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Definition in file lrealpath.c.


Function Documentation

char* lrealpath ( const char *  filename)

A well-defined realpath () that is always compiled in.

Definition at line 84 of file lrealpath.c.

References filename, len, and malloc().

Referenced by handle_get_filename(), and InitPaths().

Here is the call graph for this function: