Annotation of 43BSDTahoe/man/man2/gethostid.2, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1983 Regents of the University of California.
                      2: .\" All rights reserved.  The Berkeley software License Agreement
                      3: .\" specifies the terms and conditions for redistribution.
                      4: .\"
                      5: .\"    @(#)gethostid.2 6.3 (Berkeley) 11/28/85
                      6: .\"
                      7: .TH GETHOSTID 2 "November 28, 1985"
                      8: .UC 5
                      9: .SH NAME
                     10: gethostid, sethostid \- get/set unique identifier of current host
                     11: .SH SYNOPSIS
                     12: .nf
                     13: .ft B
                     14: hostid = gethostid()
                     15: long hostid;
                     16: .PP
                     17: .ft B
                     18: sethostid(hostid)
                     19: long hostid;
                     20: .fi
                     21: .SH DESCRIPTION
                     22: .I Sethostid
                     23: establishes a 32-bit identifier for the
                     24: current processor that is intended to be unique among all
                     25: UNIX systems in existence.  This is normally a DARPA Internet
                     26: address for the local machine.  This call is allowed only to the
                     27: super-user and is normally performed at boot time.
                     28: .PP
                     29: .I Gethostid
                     30: returns the 32-bit identifier for the current processor.
                     31: .SH SEE ALSO
                     32: hostid(1), gethostname(2)
                     33: .SH BUGS
                     34: 32 bits for the identifier is too small.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.