uname.2
来自「Unix操作系统minix 2.0源码」· 2 代码 · 共 36 行
2
36 行
.TH UNAME 2.SH NAMEuname \- get system info.SH SYNOPSIS.ft B.nf#include <sys/utsname.h>int uname(struct utsname *name).fi.ft P.SH DESCRIPTION.B Uname()fills a struct utsname with system information. This structure is describedin <sys/utsname.h> as follows:.PP.nf.ta +4n +6n +25nstruct utsname { char sysname[15+1]; /* System name */ char nodename[255+1]; /* Node/Network name */ char release[11+1]; /* O.S. release */ char version[7+1]; /* O.S. version */ char machine[11+1]; /* Machine hardware */ char arch[11+1]; /* Architecture */};.fi.PPThe strings are always null terminated, and may be of a different length thenshown here. The first five are required by \s-2POSIX\s+2, the last isMinix specific..SH "SEE ALSO".BR uname (1)..SH AUTHORKees J. Bot (kjb@cs.vu.nl)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?