#include
#include
#include
int main(int argc , char ** argv)
{
struct utsname utsname;
uname(&utsname);
printf("sysname=%s,nodename=%s,release=%s,version=%s,machine=%s\n",utsname.sysname,utsname.nodename,utsname.release,utsname.version,utsname.machine);
return 0;
}
阅读(637) | 评论(0) | 转发(0) |