diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 11:58:26 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 11:58:26 +0300 |
commit | 765c7494b3dac62207e6cd57fb839997e237f292 (patch) | |
tree | f7da12ffdb85d9f82671cb3122775b2ce73f7ad9 /vms/unixlib.h | |
parent | cce5115e21db1702e0617afdca36633e7e2c9eae (diff) | |
download | egawk-765c7494b3dac62207e6cd57fb839997e237f292.tar.gz egawk-765c7494b3dac62207e6cd57fb839997e237f292.tar.bz2 egawk-765c7494b3dac62207e6cd57fb839997e237f292.zip |
Moving to 2.13.2.
Diffstat (limited to 'vms/unixlib.h')
-rw-r--r-- | vms/unixlib.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 <unixlib.h>, + * 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 */ |