match_path.3
foundation2_fluffos_v1/lib/doc/driver/efuns/mappings/match_path.3 · 560 B
From the archive foundation2_fluffos_v1.zip
Download the archive « Back to the archive contents
.\"search a mapping for a path .TH match_path 3 "5 Sep 1994" MudOS "LPC Library Functions" .SH NAME match_path() - search a mapping for a path .SH SYNOPSIS mixed match_path( mapping m, string str ); .SH DESCRIPTION match_path() searches a mapping for a path. Each key is assumed to be a string. The value is completely arbitrary. The efun finds the largest matching path in the mapping. Keys ended in '/' are assumed to match paths with character that follow the '/', i.e. / is a wildcard for anything below this directory. .SH AUTHOR Cygnus