Re: [AD] for_each_file not working |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Ok, here's a patch clarifying the documentation.
--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (my CS prof)
http://pages.infinit.net/voidstar/
Index: allegro._tx
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/allegro._tx,v
retrieving revision 1.148
diff -u -b -r1.148 allegro._tx
--- allegro._tx 2001/10/03 09:04:36 1.148
+++ allegro._tx 2001/10/07 20:28:11
@@ -5611,12 +5611,13 @@
excluding '.' and '..'). FA_DIREC represents directories. Flags can be
combined using '|' (binary OR operator).
-When passed to the functions as the 'attrib' parameter, flags represent an
-upper set the actual flag set of matching files must be included in. That
-is, in order for a file to be matching, its attributes may contain any of
-the specified flags but must not contain any of the unspecified flags.
-Thus, if you pass 'FA_DIREC | FA_LABEL', normal directories will be
-included but not hidden directories.
+When passed to the functions as the 'attrib' parameter, these flags
+represent an upper set of the actual flag set of the matching files that
+must be included in. That is, in order for a file to be matching, its
+attributes may contain any of the specified flags but must not contain any
+of the unspecified flags. Thus, if you pass 'FA_DIREC | FA_LABEL', normal
+directories will be included but not hidden directories. Similarly, if you
+pass 'FA_ARCH' then both archived and non-archived files will be included.
@@void @get_executable_name(char *buf, int size);
Fills buf with the full path to the current executable, writing at most