1
0
src/libshell/libshell.h
2022-09-18 10:44:47 -04:00

12 lines
344 B
C

#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);