int doputenv(const char *str)
Like the libc function, but malloc()'s the space needed.
enum rpmRC_e rpmRC
RPM return codes.
char * currentDirectory(void)
Return (malloc'd) current working directory.
rpmRC rpmMkdirPath(const char *dpath, const char *dname)
Create directory if it does not exist, and make sure path is writable.
int dosetenv(const char *name, const char *value, int overwrite)
Like the libc function, but malloc()'s the space needed.