summaryrefslogtreecommitdiff
path: root/lib/save-cwd.h
blob: 2dfe3cfadb5ddf73f04c6aae7650fde28641992a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SAVE_CWD_H
# define SAVE_CWD_H 1

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

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

#endif /* SAVE_CWD_H */