From a975952d885c47aeca013e76194142a47e96d49a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 8 Dec 2016 21:29:00 -0600 Subject: Add DIRTREE_PROC to skip non-numeric entries and make ps/top etc use it. --- lib/lib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index 61a1975f..d5a48326 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -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 -- cgit v1.2.3