~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to vms/unixlib.h

  • Committer: Arnold D. Robbins
  • Date: 2010-07-16 08:58:26 UTC
  • Revision ID: git-v1:765c7494b3dac62207e6cd57fb839997e237f292
Moving to 2.13.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 getgid(), getuid(), getegid(), geteuid();
 
24
int setgid(), setuid();         /* no-ops */