Module m_complete
Documentation for the modules-m_complete module in /std/modules/m_complete.c.
Module Information
Various functions for expanding partial matches
Functions
-
string *complete(string partial, string *potentials)
Given a string and a list of possible completions of that string, return an array of all strings that would be valid completions.
-
string *case_insensitive_complete(string partial, string *potentials)
same as complete, but upper and lower case are ignored.
-
string *find_best_match_or_complete(string partial, string *potentials)
same as case_insensitive_complete, but if there is an exact match, returns only that.
-
mixed complete_user(string name)
given a username that might be partial, returns a user name, or an array of strings on a partial match, or 0 on no match.
File generated by Lima 1.1a4 reStructured Text daemon.