gethostid(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

gethostid(3c)

Standard C Library Functions                                     gethostid(3C)



NAME
       gethostid - get an identifier for the current host

SYNOPSIS
       #include <unistd.h>

       long gethostid(void);

DESCRIPTION
       The  gethostid() function returns the 32-bit identifier for the current
       host. If the hardware capability exists, this identifier is taken  from
       platform-dependent stable storage; otherwise it is a randomly generated
       number. It is not guaranteed to be unique.


       If the calling thread's process is executing within a  non-global  zone
       that  emulates  a host identifier, then the zone's emulated 32-bit host
       identifier is returned.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe _ Stan‐
       dardSee standards(7).


SEE ALSO
       hostid(1), sysinfo(2), attributes(7), standards(7), zones(7)



Oracle Solaris 11.4               29 Jan 2009                    gethostid(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3