31
31
#include <stddef.h>             /* NULL */
 
32
32
#include <stdlib.h>             /* getenv() */
 
33
33
#include <stdio.h>              /* asprintf(), perror() */
 
 
34
#include <stdlib.h>             /* EXIT_FAILURE, free(), strtoul(),
 
36
36
#include <sys/types.h>          /* pid_t, DIR, struct dirent,
 
38
38
#include <dirent.h>             /* opendir(), readdir(), closedir() */
 
40
39
#include <sys/stat.h>           /* struct stat, lstat(), S_ISLNK */
 
41
40
#include <iso646.h>             /* not, or, and */
 
42
41
#include <unistd.h>             /* readlink(), fork(), execl(),