From 765c7494b3dac62207e6cd57fb839997e237f292 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 16 Jul 2010 11:58:26 +0300 Subject: Moving to 2.13.2. --- vms/unixlib.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 vms/unixlib.h (limited to 'vms/unixlib.h') diff --git a/vms/unixlib.h b/vms/unixlib.h new file mode 100644 index 00000000..17d99706 --- /dev/null +++ b/vms/unixlib.h @@ -0,0 +1,24 @@ +/* "unixlib.h" -- limited substitute for VAX C V3.x's , + * for use with VAX C V2.x and/or GNU C when building gawk. + */ + + +/* declare the global environ[] array */ +#ifdef VAXC +extern char noshare **environ; +#else +# ifdef __GNUC__ +# define environ $$PsectAttributes_NOSHR$$environ +# endif +extern char **environ; +#endif + +/* miscellaneous Unix emulation routines available in VAXCRTL */ +char *getenv(), *getcwd(); + +char *ecvt(), *fcvt(), *gcvt(); + +int getpid(), getppid(); + +unsigned getgid(), getuid(), getegid(), geteuid(); +int setgid(), setuid(); /* no-ops */ -- cgit v1.2.3