rpm  5.4.14
misc.h
Go to the documentation of this file.
1 #ifndef H_MISC
2 #define H_MISC
3 
8 #include <string.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
21 rpmRC rpmMkdirPath (const char * dpath, const char * dname)
22  /*@globals h_errno, fileSystem, internalState @*/
23  /*@modifies fileSystem, internalState @*/;
24 
33 int dosetenv(const char * name, const char * value, int overwrite)
34  /*@globals environ@*/
35  /*@modifies *environ @*/;
36 
43 int doputenv(const char * str)
44  /*@globals environ@*/
45  /*@modifies *environ @*/;
46 
51 /*@only@*/ char * currentDirectory(void)
52  /*@*/;
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif /* H_MISC */
long int value
Definition: rpmds.c:2712
int doputenv(const char *str)
Like the libc function, but malloc()&#39;s the space needed.
Definition: misc.c:50
enum rpmRC_e rpmRC
RPM return codes.
Definition: signature.c:616
char * currentDirectory(void)
Return (malloc&#39;d) current working directory.
Definition: misc.c:72
rpmRC rpmMkdirPath(const char *dpath, const char *dname)
Create directory if it does not exist, and make sure path is writable.
Definition: misc.c:19
static const char * name
int dosetenv(const char *name, const char *value, int overwrite)
Like the libc function, but malloc()&#39;s the space needed.
Definition: misc.c:60