Extracted from Pike v7.6 release 112 at 2008-06-25.
pike.ida.liu.se
[Top]

Method is_absolute_path()


Method is_absolute_path

int is_absolute_path(string p)

Description

Check if a path p is fully qualified (ie not relative).

Returns

Returns 1 if the path is absolute, 0 otherwise.