deprecated: 2.2 since: 2.0
Gets the name of the file without any leading directory components. It returns a pointer into the given file name string.
Available since: 2.0
Deprecated since: 2.2
g_path_get_basename() instead, but notice
g_path_get_basename() allocates new memory for the
returned string, unlike this function which returns a pointer
into the argument.
The name of the file.
The data is owned by the caller of the function. The value is a file system path, using the OS encoding.