aboutsummaryrefslogtreecommitdiffstats
path: root/nonposix.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-05-12 22:40:14 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-05-12 22:40:14 +0300
commit330f73ad4bc9e2b54b1d77eb5988a945f0ffe55c (patch)
tree45057a68341808a496eae608ce047e60642101ec /nonposix.h
parente2bfaff631c465275f8289385e95406d22a3aeda (diff)
parentd7b4254cbf5f70d430e21f4f8ca90e354e251bac (diff)
downloadegawk-330f73ad4bc9e2b54b1d77eb5988a945f0ffe55c.tar.gz
egawk-330f73ad4bc9e2b54b1d77eb5988a945f0ffe55c.tar.bz2
egawk-330f73ad4bc9e2b54b1d77eb5988a945f0ffe55c.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'nonposix.h')
-rw-r--r--nonposix.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/nonposix.h b/nonposix.h
index 976e0b7d..744914b1 100644
--- a/nonposix.h
+++ b/nonposix.h
@@ -43,4 +43,22 @@
int w32_status_to_termsig (unsigned);
+/* Prototypes of for Posix functions for which we define replacements
+ in pc/ files. */
+
+/* getid.c */
+unsigned int getuid (void);
+unsigned int geteuid (void);
+unsigned int getgid (void);
+unsigned int getegid (void);
+
+/* gawkmisc.pc */
+int unsetenv (const char *);
+int setenv (const char *, const char *, int);
+#endif /* __MINGW32__ */
+
+int getpgrp(void);
+
+#if defined(__DJGPP__) || defined(__MINGW32__)
+int getppid(void);
#endif