Lines Matching refs:rc
184 apr_status_t rc;
192 if ((rc = apr_file_open(&stderr_file, filename,
195 ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL, APLOGNO(00086)
198 return rc;
206 if ((rc = apr_file_open_stderr(&stderr_log, stderr_pool))
209 if ((rc = apr_file_dup2(stderr_log, stderr_file, stderr_pool))
227 if (rc != APR_SUCCESS) {
228 ap_log_error(APLOG_MARK, APLOG_CRIT, rc, NULL, APLOGNO(00087)
231 return rc;
254 apr_status_t rc;
259 if (((rc = apr_procattr_create(&procattr, p)) == APR_SUCCESS)
260 && ((rc = apr_procattr_dir_set(procattr,
262 && ((rc = apr_procattr_cmdtype_set(procattr, cmdtype)) == APR_SUCCESS)
263 && ((rc = apr_procattr_io_set(procattr,
267 && ((rc = apr_procattr_error_check_set(procattr, 1)) == APR_SUCCESS)
268 && ((rc = apr_procattr_child_errfn_set(procattr, log_child_errfn))
276 if ((rc = apr_file_open_stdout(&errfile, p)) == APR_SUCCESS)
277 rc = apr_procattr_child_err_set(procattr, errfile, NULL);
280 if (rc == APR_SUCCESS) {
281 rc = apr_proc_create(procnew, args[0], (const char * const *)args,
285 if (rc == APR_SUCCESS) {
294 return rc;
302 int rc;
325 rc = log_child(p, fname, &dummy, cmdtype, is_main);
326 if (rc != APR_SUCCESS) {
327 ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL, APLOGNO(00089)
351 if ((rc = apr_file_open(&s->error_log, fname,
354 ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL, APLOGNO(00091)
1811 int rc;
1813 rc = log_child(p, program, &dummy, cmdtype, 0);
1814 if (rc != APR_SUCCESS) {
1815 ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL, APLOGNO(00108)