From c15afb4a54dd6003ed89efaf6d42ef2db7eb887f Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 22 May 2000 20:57:51 +0000 Subject: *** empty log message *** --- perl-install/c/stuff.xs.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'perl-install/c') diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm index 6296c7461..77c779c83 100644 --- a/perl-install/c/stuff.xs.pm +++ b/perl-install/c/stuff.xs.pm @@ -261,6 +261,13 @@ kernel_version() OUTPUT: RETVAL +char * +kernel_arch() + CODE: + struct utsname u; + if (uname(&u) == 0) RETVAL = u.machine; else RETVAL = NULL; + OUTPUT: + RETVAL int set_loop(dev_fd, file) -- cgit v1.2.1