summaryrefslogtreecommitdiff
path: root/win32/win32iop.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-03-24 01:08:33 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-03-24 01:08:33 +0000
commitb2af26b13be5ac143d7c7e58ef2458b8b3103485 (patch)
tree708be0a38074ec2b410629956a8f04ed5b58c2a9 /win32/win32iop.h
parent8fe0a5c4e04be608dcf92965347231ca4e6d5db7 (diff)
downloadperl-b2af26b13be5ac143d7c7e58ef2458b8b3103485.tar.gz
support POSIX::uname() via win32_uname()
p4raw-id: //depot/perl@3134
Diffstat (limited to 'win32/win32iop.h')
-rw-r--r--win32/win32iop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/win32iop.h b/win32/win32iop.h
index c7a74444e0..a0649b1623 100644
--- a/win32/win32iop.h
+++ b/win32/win32iop.h
@@ -124,6 +124,7 @@ DllExport unsigned win32_alarm(unsigned int sec);
DllExport int win32_stat(const char *path, struct stat *buf);
DllExport int win32_ioctl(int i, unsigned int u, char *data);
DllExport int win32_utime(const char *f, struct utimbuf *t);
+DllExport int win32_uname(struct utsname *n);
DllExport int win32_wait(int *status);
DllExport int win32_waitpid(int pid, int *status, int flags);
DllExport int win32_kill(int pid, int sig);
@@ -153,6 +154,7 @@ END_EXTERN_C
#undef alarm
#undef ioctl
#undef utime
+#undef uname
#undef wait
#ifdef __BORLANDC__
@@ -261,6 +263,7 @@ END_EXTERN_C
#define alarm win32_alarm
#define ioctl win32_ioctl
#define utime win32_utime
+#define uname win32_uname
#define wait win32_wait
#define waitpid win32_waitpid
#define kill win32_kill