diff options
author | Rob Landley <rob@landley.net> | 2016-12-08 21:29:00 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-12-08 21:29:00 -0600 |
commit | a975952d885c47aeca013e76194142a47e96d49a (patch) | |
tree | dad2f585a2d9a338fdf721f492bff57d4e68e8c4 /lib/lib.h | |
parent | e82d6d14fcc272041e578e8d0a2e342ee65365b3 (diff) | |
download | toybox-a975952d885c47aeca013e76194142a47e96d49a.tar.gz |
Add DIRTREE_PROC to skip non-numeric entries and make ps/top etc use it.
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -73,6 +73,8 @@ void get_optflags(void); #define DIRTREE_SHUTUP 16 // Breadth first traversal, conserves filehandles at the expense of memory #define DIRTREE_BREADTH 32 +// skip non-numeric entries +#define DIRTREE_PROC 64 // Don't look at any more files in this directory. #define DIRTREE_ABORT 256 |