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

+5
View File
@@ -288,6 +288,11 @@ Generic Functions
optional listing of file and directory permissions if `show_perms` is
set. The `path` argument should be a directory.
- `which(cmd)`
C implementation of UNIX which(1). Returns a malloc'ed string with the
full path to `cmd` on success, otherwise `NULL`.
GNU Functions
-------------