aboutsummaryrefslogtreecommitdiffhomepage
path: root/wildcard.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-01-10 02:47:05 +1000
committerGravatar axel <axel@liljencrantz.se>2007-01-10 02:47:05 +1000
commita3aba0269d4c25f7a701383a743482dfac54c16d (patch)
tree150ddaaee4d6b8a9d29320fe91a75c42e79af6c1 /wildcard.h
parente1f4aa5fcdf04b9a07ed2c892c71c37ff815070d (diff)
Make it possible to cancel a long-winded wildcard match by pressing ^C
darcs-hash:20070109164705-ac50b-d8bf2c22e9ecb6bccec6892da266016dcae79a4c.gz
Diffstat (limited to 'wildcard.h')
-rw-r--r--wildcard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wildcard.h b/wildcard.h
index 9133b0fb..39e8ce6d 100644
--- a/wildcard.h
+++ b/wildcard.h
@@ -60,7 +60,7 @@ enum
\param flags flags for the search. Can be any combination of ACCEPT_INCOMPLETE and EXECUTABLES_ONLY
\param out The list in which to put the output
- \return 1 if matches where found, 0 otherwise.
+ \return 1 if matches where found, 0 otherwise. Return -1 on abort (I.e. ^C was pressed).
*/
int wildcard_expand( const wchar_t *wc,