NAME
uname - get name and information about current kernel
SYNOPSIS
#include<sys/utsname.h>;
intuname(structutsname*buf);
DESCRIPTION
uname returns system information in the structure pointed
to by buf. The utsname struct is defined in
<sys/utsname.h>;:
struct utsname {
char sysname[];
char nodename[];
char release[];
char version[];
char machine[];
#ifdef _GNU_SOURCE
char domainname[];
#endif
};
The length of the arrays in a struct utsname is unspeci? fied; the fields are NUL-terminated.
这是linux上的
实在不行就到那个目录下看
或是使用google查找man uname作者: 无双 时间: 2003-06-25 14:40 标题: 如何察看linux下的c函数实现的源码?? 另外源码的话需要看glibc的源码
上google找作者: stroustrup 时间: 2003-06-25 15:48 标题: 如何察看linux下的c函数实现的源码?? man S uname作者: reddatura 时间: 2003-06-25 16:10 标题: 如何察看linux下的c函数实现的源码?? S means what?
thanks!!作者: 无双 时间: 2003-06-25 16:12 标题: 如何察看linux下的c函数实现的源码?? man man