/* Put information about the system in NAME. */
extern int uname (struct utsname *__name) __THROW;
参数:
__name:指向存放系统信息的缓冲区,原型如下
/* Structure describing the system and machine. */
struct utsname
{
/* Name of the implementation of the operating system. */
char sysname[_UTSNAME_SYSNAME_LENGTH]; //当前操作系统名
/* Name of this node on the network. */
char nodename[_UTSNAME_NODENAME_LENGTH]; //网络上的名称
/* Current release level of this implementation. */
char release[_UTSNAME_RELEASE_LENGTH]; //当前发布级别