Lines Matching defs:fname
181 const char *fname)
185 char *filename = ap_server_root_relative(p, fname);
189 fname);
197 ap_server_argv0, fname);
301 const char *fname;
307 fname = s->error_fname + 1;
314 if (*fname == '|')
315 ++fname;
316 if (*fname == '$') {
318 ++fname;
325 rc = log_child(p, fname, &dummy, cmdtype, is_main);
344 fname = ap_server_root_relative(p, s->error_fname);
345 if (!fname) {
351 if ((rc = apr_file_open(&s->error_log, fname,
356 ap_server_argv0, fname);
1503 const char *fname = ap_runtime_dir_relative(p, rel_fname);
1505 if (fname != NULL) {
1506 rv = apr_file_remove(fname, p);
1509 "failed to remove PID file %s", fname);
1514 fname, getpid());
1526 const char *fname;
1532 fname = ap_runtime_dir_relative(p, filename);
1533 if (!fname) {
1541 && apr_stat(&finfo, fname, APR_FINFO_MTIME, p) == APR_SUCCESS) {
1552 fname);
1555 if ((rv = apr_file_open(&pid_file, fname,
1560 "could not create %s", fname);
1563 ap_server_argv0, fname);
1577 const char *fname;
1585 fname = ap_runtime_dir_relative(p, filename);
1586 if (!fname) {
1592 rv = apr_file_open(&pid_file, fname, APR_READ, APR_OS_DEFAULT, p);