#include <fcntl.h>
#include <ctype.h>
+#if ! defined BB_FEATURE_USE_PROCFS
+#error Sorry, I depend on the /proc filesystem right now.
+#endif
typedef struct proc_s {
char
int i, c;
if ( argc>1 && **(argv+1) == '-' ) {
- usage ("ps - report process status\nThis version of ps accepts no options.\n");
+ usage ("ps\n\nReport process status\n\nThis version of ps accepts no options.\n");
}
dir = opendir("/proc");