summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5251d17)
It just does a strlen(3) of its argument's d_name; that's not even done
longhand anyway. And its name is very generic for such a narrow task.
#include <sys/wait.h>
# include <dirent.h>
#include <sys/wait.h>
# include <dirent.h>
-#define NLENGTH(dirent) strlen((dirent)->d_name)
#include <stdlib.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdarg.h>