#ifndef SAVE_CWD_H
#define SAVE_CWD_H 1

struct saved_cwd
  {
    int desc;
    const char *name;
  };

int save_cwd (struct saved_cwd *cwd);
int restore_cwd (const struct saved_cwd *cwd, const char *dest);
void free_cwd (struct saved_cwd *cwd);

#endif /* SAVE_CWD_H */


syntax highlighted by Code2HTML, v. 0.9.1