CANONICALIZE_FILE_NAME(3) Linux Programmer's Manual CANONICALIZE_FILE_NAME(3)

canonicalize_file_name - return the canonicalized filename

#define _GNU_SOURCE /* See feature_test_macros(7) */
#include <stdlib.h>

char *canonicalize_file_name(const char *path);

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

The function is a GNU extension.

realpath(3)

This page is part of release 3.49 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/.

2005-07-14 GNU

Different Versions of this Page: