Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>


 173            system.
 174 
 175 
 176        SI_SRPC_DOMAIN
 177 
 178            Copies the Secure Remote Procedure Call domain name into the array
 179            pointed to by buf.
 180 
 181 
 182        SI_SET_SRPC_DOMAIN
 183 
 184            Set the string to be returned by sysinfo() with the SI_SRPC_DOMAIN
 185            command to the value contained in the array pointed to by buf. This
 186            command requires that {PRIV_SYS_ADMIN} is asserted in the effective
 187            set of the calling process.
 188 
 189 
 190        SI_DHCP_CACHE
 191 
 192            Copy into the array pointed to by buf an ASCII string consisting of
 193            the ASCII hexidecimal encoding of the name of the interface
 194            configured by boot(1M) followed by the DHCPACK reply from the
 195            server. This command is intended for use only by the dhcpagent(1M)
 196            DHCP client daemon for the purpose of adopting the DHCP maintenance
 197            of the interface configured by boot.
 198 
 199 
 200 RETURN VALUES
 201        Upon successful completion, the value returned indicates the buffer
 202        size in bytes required to hold the complete value and the terminating
 203        null character.  If this value is no greater than the value passed in
 204        count, the entire string was copied. If this value is greater than
 205        count, the string copied into buf has been truncated to  count-1 bytes
 206        plus a terminating null character.
 207 
 208 
 209        Otherwise, -1 is returned and errno is set to indicate the error.
 210 
 211 ERRORS
 212        The sysinfo() function will fail if:
 213 




 173            system.
 174 
 175 
 176        SI_SRPC_DOMAIN
 177 
 178            Copies the Secure Remote Procedure Call domain name into the array
 179            pointed to by buf.
 180 
 181 
 182        SI_SET_SRPC_DOMAIN
 183 
 184            Set the string to be returned by sysinfo() with the SI_SRPC_DOMAIN
 185            command to the value contained in the array pointed to by buf. This
 186            command requires that {PRIV_SYS_ADMIN} is asserted in the effective
 187            set of the calling process.
 188 
 189 
 190        SI_DHCP_CACHE
 191 
 192            Copy into the array pointed to by buf an ASCII string consisting of
 193            the ASCII hexadecimal encoding of the name of the interface
 194            configured by boot(1M) followed by the DHCPACK reply from the
 195            server. This command is intended for use only by the dhcpagent(1M)
 196            DHCP client daemon for the purpose of adopting the DHCP maintenance
 197            of the interface configured by boot.
 198 
 199 
 200 RETURN VALUES
 201        Upon successful completion, the value returned indicates the buffer
 202        size in bytes required to hold the complete value and the terminating
 203        null character.  If this value is no greater than the value passed in
 204        count, the entire string was copied. If this value is greater than
 205        count, the string copied into buf has been truncated to  count-1 bytes
 206        plus a terminating null character.
 207 
 208 
 209        Otherwise, -1 is returned and errno is set to indicate the error.
 210 
 211 ERRORS
 212        The sysinfo() function will fail if:
 213