1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-11 06:34:40 +02:00
Files
coreutils/lib/save-cwd.h

24 lines
472 B
C
Raw Normal View History

1995-08-04 15:23:25 +00:00
#ifndef SAVE_CWD_H
1997-11-30 11:17:28 +00:00
# define SAVE_CWD_H 1
1995-08-04 15:23:25 +00:00
struct saved_cwd
{
int desc;
char *name;
};
1997-12-21 11:22:51 +00:00
# ifndef PARAMS
# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
1997-12-21 11:22:51 +00:00
# define PARAMS(Args) Args
1997-11-30 11:17:28 +00:00
# else
1997-12-21 11:22:51 +00:00
# define PARAMS(Args) ()
# endif
# endif
1995-08-04 15:23:25 +00:00
1997-12-21 11:22:51 +00:00
int save_cwd PARAMS ((struct saved_cwd *cwd));
int restore_cwd PARAMS ((const struct saved_cwd *cwd, const char *dest,
const char *from));
void free_cwd PARAMS ((struct saved_cwd *cwd));
1995-08-04 15:23:25 +00:00
#endif /* SAVE_CWD_H */