home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / cvs-1.8.7-src.tgz / tar.out / fsf / cvs / lib / savecwd.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  430b  |  21 lines

  1. #ifndef SAVE_CWD_H
  2. #define SAVE_CWD_H 1
  3.  
  4. struct saved_cwd
  5.   {
  6.     int desc;
  7.     char *name;
  8.   };
  9.  
  10. #if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
  11. #define __PROTO(args) args
  12. #else
  13. #define __PROTO(args) ()
  14. #endif  /* GCC.  */
  15.  
  16. int save_cwd __PROTO((struct saved_cwd *cwd));
  17. int restore_cwd __PROTO((const struct saved_cwd *cwd, const char *dest));
  18. void free_cwd __PROTO((struct saved_cwd *cwd));
  19.  
  20. #endif /* SAVE_CWD_H */
  21.