ftp.nice.ch/pub/next/unix/developer/cvs.950905.s.tar.gz#/cvs-1.5.1/lib/save-cwd.h

This is save-cwd.h in view mode; [Download] [Up]

#ifndef SAVE_CWD_H
#define SAVE_CWD_H 1

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

#ifndef __P
#if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
#define __P(args) args
#else
#define __P(args) ()
#endif  /* GCC.  */
#endif  /* Not __P.  */

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

#endif /* SAVE_CWD_H */

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.