Util.pathSkipRoot

Returns a pointer into @file_name after the root component, i.e. after the "/" in UNIX or "C:\" under Windows. If @file_name is not an absolute path it returns %NULL.

struct Util
static
string
pathSkipRoot
(
string fileName
)

Parameters

fileName string

a file name

Return: a pointer into @file_name after the root component

Meta