Main Page Class Hierarchy Compound List File List Compound Members File Members

# dirops_ew.c File Reference

`#include <windows.h>`
`#include <sys/stat.h>`
`#include <errno.h>`
`#include <earthworm.h>`
`#include <stdio.h>`
`#include <direct.h>`

Go to the source code of this file.

## Functions
int | chdir_ew (char *path)
int | CreateDir (char *dirname)
int | RecursiveCreateDir (char *dirname)
int | GetFileName (char fname[])
int | rename_ew (char *path1, char *path2)

## Function Documentation

int chdir_ew | ( | char * | path | ) |

| Definition at line 49 of file dirops_ew.c.

int CreateDir | ( | char * | dirname | ) |

| Definition at line 71 of file dirops_ew.c. References EW_FAILURE, EW_SUCCESS, and logit(). Referenced by AHPA_init(), AHPA_next_ev(), GSEPA_init(), open_seisan_file(), RecursiveCreateDir(), SACPABase_init(), SACPABase_next_ev(), SEIPA_init(), SUDSPA_init(), and TANKPA_init().

int GetFileName | ( | char | fname[] | ) |

| Definition at line 207 of file dirops_ew.c.

int RecursiveCreateDir | ( | char * | dirname | ) |

| Definition at line 121 of file dirops_ew.c. References CreateDir(), EW_FAILURE, EW_SUCCESS, logit(), and MAX_DIR_LEN.

int rename_ew | ( | char * | path1,
|  | char * | path2
| ) |

| Definition at line 261 of file dirops_ew.c. Referenced by GSEPA_end_ev().