Lines Matching defs:path
193 * Input: char * which is the path to the file containing the binary policy
196 * Possible failures are, filename with given path does not exist,
203 int read_binary_policy(const char *path, policydb_t *p)
210 if ((in_fp = fopen(path, "rb")) == NULL) {
211 fprintf(stderr, "Unable to open %s: %s\n", path,
229 * Input: char * which is the path to the file containing the binary policy
232 * Possible failures are, filename with given path does not exist,
238 int write_binary_policy(const char *path, policydb_t *p)
254 if ((out_fp = fopen(path, "w" )) == NULL) {
255 fprintf(stderr, "Unable to open %s: %s\n", path,