more cleaning

This commit is contained in:
2022-09-18 10:44:47 -04:00
parent 49b9f21067
commit 9189124f2d
26 changed files with 13 additions and 410 deletions
+11
View File
@@ -0,0 +1,11 @@
#include <errno.h>
#include <stdlib.h> /* getenv(3), malloc(3) */
#include <string.h> /* memcpy(3) */
/* For the shell variable $PATH */
#define PATH_NAME "PATH"
#define PATH_DELIMITER ':'
/* Returns a list of the current paths ordered from first to last priority.
* output must be freed and *output must be freed! */
char **getpaths(void);