Import sources from 2011-03-30 iso image - sys/include

This commit is contained in:
Taru Karttunen 2011-03-30 16:47:56 +03:00
parent e5888a1ffd
commit c558a99e0b
105 changed files with 11410 additions and 0 deletions

16
sys/include/complete.h Executable file
View file

@ -0,0 +1,16 @@
#pragma lib "libcomplete.a"
#pragma src "/sys/src/libcomplete"
typedef struct Completion Completion;
struct Completion{
uchar advance; /* whether forward progress has been made */
uchar complete; /* whether the completion now represents a file or directory */
char *string; /* the string to advance, suffixed " " or "/" for file or directory */
int nmatch; /* number of files that matched */
int nfile; /* number of files returned */
char **filename; /* their names */
};
Completion* complete(char *dir, char *s);
void freecompletion(Completion*);