which.c: C implementation of UNIX which(1)

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-07-02 16:50:58 +02:00
1 parent 0d70c116d7
commit d018a5215f
7 files changed
+146 -1

No files matched your search

+2
View File
@@ -85,6 +85,8 @@ int tree(char *path, int show_perms);
void progress (int percent, int max_width);
void progress_simple(int percent);
char *which (const char *cmd);
#ifndef touch
#include <sys/stat.h> /* utimensat() */
#include <sys/time.h> /* utimensat() on *BSD */