gethostuuid man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

GETHOSTUUID(2)		 Mac OS X System Calls Manual		GETHOSTUUID(2)

NAME
     gethostuuid — return a unique identifier for the current machine

SYNOPSIS
     #include <unistd.h>

     int
     gethostuuid(uuid_t id, const struct timespec *wait);

DESCRIPTION
     The gethostuuid() function returns a 16-byte uuid_t specified by id, that
     uniquely identifies the current machine.  Be aware that the hardware
     identifiers that gethostuuid() uses to generate the UUID can themselves
     be modified.

     The wait argument is a pointer to a struct timespec that specifies the
     maximum time to wait for the result.  Setting the tv_sec and tv_nsec
     fields to zero means to wait indefinitely until it completes.

RETURN VALUES
     The gethostuuid() function returns zero on success or -1 on error.

ERRORS
     The gethostuuid() functions fails if:

     [EFAULT]		wait points to memory that is not a valid part of the
			process address space.

     [EWOULDBLOCK]	The wait timeout expired before the UUID could be
			obtained.

SEE ALSO
     uuid(3)

Mac OS X			  Nov 5, 2008			      Mac OS X
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net