#include #include /* getenv(3), malloc(3) */ #include /* 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);