lr_get_host_name(); //获取主机名称的函数,返回的是个字符串 rand();//获取随机数的函数,返回的是整型数 char *os = (char *)getenv("OS"); //获取操作系统信息的函数