aboutsummaryrefslogtreecommitdiff
path: root/include/complete.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/complete.h')
-rw-r--r--include/complete.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/complete.h b/include/complete.h
index 7ee2b18a..ae8003d7 100644
--- a/include/complete.h
+++ b/include/complete.h
@@ -1,5 +1,7 @@
+/*
#pragma lib "libcomplete.a"
#pragma src "/sys/src/libcomplete"
+*/
typedef struct Completion Completion;
@@ -7,7 +9,8 @@ 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 nfile; /* number of files that matched */
+ int nmatch; /* number of files that matched */
+ int nfile; /* number of files returned */
char **filename; /* their names */
};