canonicalize_file_name(3) - Linux man page

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)