gethostid.2

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 2 代码 · 共 34 行

2
34
字号
.\" SCCSID: @(#)gethostid.2	8.1	9/11/90.TH gethostid 2.SH Namegethostid, sethostid \- get or set the unique identifier of the current host.SH Syntax.nf.ft Bhostid = gethostid()int hostid;.PP.ft Bsethostid(hostid)int hostid;.fi.SH Description.NXR "gethostid system call".NXR "sethostid system call".NXA "gethostid system call" "getpid system call".NXR "host ID" "getting".NXR "host ID" "setting"The.PN sethostidsystem call establishes a 32-bit identifier for thecurrent processor that is intended to be unique among allUNIX systems in existence.  This is normally a DARPA Internetaddress for the local machine.  This call is allowed only to thesuperuser and is normally performed at boot time..SH Return ValuesThe.PN gethostidsystem call returns the 32-bit identifier for the current processor..SH See Alsohostid(1), gethostname(2)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?