CANONICALIZE_FILE_NAME

Section: Linux Programmer's Manual (3)
Updated: 2005-07-14
Index Return to Main Contents
 

NAME

canonicalize_file_name - return the canonicalized filename  

SYNOPSIS

#define _GNU_SOURCE
#include <stdlib.h>

char *canonicalize_file_name(const char *path);  

DESCRIPTION

The call canonicalize_file_name(path) is equivalent to the call realpath(path, NULL).  

CONFORMING TO

The function is a GNU extension.  

SEE ALSO

realpath(3), feature_test_macros(7)  

COLOPHON

This page is part of release 3.22 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.