Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sethostid(2) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostid(1)

gethostname(2)

GETHOSTID(2)  —  NEWS-OS Programmer’s Manual

名称

gethostid − 現ホストの一意な ID を 取り出す

形式

hostid = gethostid()
long hostid;

解説

gethostid は、 現プロセッサの 32 ビットの ID を 返します。

関連事項

hostid(1), gethostname(2)

バグ

ID に 32 ビットは少なすぎます。

NEWS-OSRelease 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026