diff options
author | Francois Pons <fpons@mandriva.com> | 2000-05-22 20:57:51 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-05-22 20:57:51 +0000 |
commit | c15afb4a54dd6003ed89efaf6d42ef2db7eb887f (patch) | |
tree | c56ca90952b5e6499f897d11f73657d7cfc7a55c /perl-install/c | |
parent | 58d2d2741ce5d150377e92b36d3ea5aaec97eb90 (diff) | |
download | drakx-c15afb4a54dd6003ed89efaf6d42ef2db7eb887f.tar drakx-c15afb4a54dd6003ed89efaf6d42ef2db7eb887f.tar.gz drakx-c15afb4a54dd6003ed89efaf6d42ef2db7eb887f.tar.bz2 drakx-c15afb4a54dd6003ed89efaf6d42ef2db7eb887f.tar.xz drakx-c15afb4a54dd6003ed89efaf6d42ef2db7eb887f.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/c')
-rw-r--r-- | perl-install/c/stuff.xs.pm | 7 |
1 files changed, 7 insertions, 0 deletions
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) |