Line | |
---|
1 | /* "unixlib.h" -- limited substitute for VAX C V3.x's <unixlib.h>,
|
---|
2 | * for use with VAX C V2.x and/or GNU C when building gawk.
|
---|
3 | */
|
---|
4 |
|
---|
5 |
|
---|
6 | /* declare the global environ[] array */
|
---|
7 | #ifdef VAXC
|
---|
8 | extern char noshare **environ;
|
---|
9 | #else
|
---|
10 | # ifdef __GNUC__
|
---|
11 | # define environ $$PsectAttributes_NOSHR$$environ
|
---|
12 | # endif
|
---|
13 | extern char **environ;
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | /* miscellaneous Unix emulation routines available in VAXCRTL */
|
---|
17 | char *getenv(), *getcwd();
|
---|
18 |
|
---|
19 | char *ecvt(), *fcvt(), *gcvt();
|
---|
20 |
|
---|
21 | int getpid(), getppid();
|
---|
22 |
|
---|
23 | unsigned getuid();
|
---|
24 | #ifndef _stdlib_h /* gcc's stdlib.h has these with conflicting types */
|
---|
25 | unsigned getgid(), getegid(), geteuid();
|
---|
26 | #endif
|
---|
27 | int setgid(), setuid(); /* no-ops */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.