*** empty log message ***
[coreutils.git] / lib / save-cwd.h
blob4801a4da3aabaf876081b0ceda67b25c670de923
1 #ifndef SAVE_CWD_H
2 # define SAVE_CWD_H 1
4 struct saved_cwd
6 int desc;
7 char *name;
8 };
10 # ifndef PARAMS
11 # if defined PROTOTYPES || (defined __STDC__ && __STDC__)
12 # define PARAMS(Args) Args
13 # else
14 # define PARAMS(Args) ()
15 # endif
16 # endif
18 int save_cwd PARAMS ((struct saved_cwd *cwd));
19 int restore_cwd PARAMS ((const struct saved_cwd *cwd, const char *dest,
20 const char *from));
21 void free_cwd PARAMS ((struct saved_cwd *cwd));
23 #endif /* SAVE_CWD_H */