3 #if defined(__cplusplus)
9 #pragma lib "libcomplete.a"
10 #pragma src "/sys/src/libcomplete"
13 typedef struct Completion Completion;
16 uchar advance; /* whether forward progress has been made */
17 uchar complete; /* whether the completion now represents a file or directory */
18 char *string; /* the string to advance, suffixed " " or "/" for file or directory */
19 int nmatch; /* number of files that matched */
20 int nfile; /* number of files returned */
21 char **filename; /* their names */
24 Completion* complete(char *dir, char *s);
25 void freecompletion(Completion*);
27 #if defined(__cplusplus)