Apache 1.3 API Documentation

Routine ap_can_exec

Definition:

int ap_can_exec(const struct stat *fstat);
     

Usage example:

if (! ap_can_exec(&r->finfo)) {
    /* log an error; we can't execute the file */
}
     

Returns nonzero if the file fstat can be executed, 0 if it cannot.


Previous: ap_call_exec Next: ap_cfg_closefile

Table of Contents (Routines, Structures, Data Cells, Constants)