Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

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.