aboutsummaryrefslogtreecommitdiff
path: root/include/complete.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-02-29 22:11:15 +0000
committerrsc <devnull@localhost>2004-02-29 22:11:15 +0000
commit91c13e54b5d631b65e2f8344d5e0abd058f78ba1 (patch)
tree81d77fc6a74f182543603032462e865e34e43335 /include/complete.h
parent5a8e63b2f016735364d17866d5e2bcb35d20c78b (diff)
downloadplan9port-91c13e54b5d631b65e2f8344d5e0abd058f78ba1.tar.gz
plan9port-91c13e54b5d631b65e2f8344d5e0abd058f78ba1.tar.bz2
plan9port-91c13e54b5d631b65e2f8344d5e0abd058f78ba1.zip
Move utf, fmt. Small header file changes.
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 */
};