This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support POSIX::uname() via win32_uname()
[perl5.git]
/
win32
/
GenCAPI.pl
diff --git
a/win32/GenCAPI.pl
b/win32/GenCAPI.pl
index
af71291
..
77e7aad
100644
(file)
--- a/
win32/GenCAPI.pl
+++ b/
win32/GenCAPI.pl
@@
-990,6
+990,11
@@
int _win32_utime(const char *f, struct utimbuf *t)
return pPerl->PL_piLIO->Utime((char*)f, t, ErrorNo());
}
+int _win32_uname(struct utsname *name)
+{
+ return pPerl->PL_piENV->Uname(name, ErrorNo());
+}
+
char* _win32_getenv(const char *name)
{
return pPerl->PL_piENV->Getenv(name, ErrorNo());