next up previous contents [pdf] index

Next: Output Up: sf_getdatapath Previous: Call

Definition

static char* getdatapath (void) 
/* Finds datapath.

Datapath rules:
1. check datapath= on the command line
2. check DATAPATH environmental variable
3. check .datapath file in the current directory
4. check .datapath in the home directory
5. use '.' (not a SEPlib behavior)
*/
{
   ...
}




2011-07-02