next up previous contents index
Next: 11.2.3 oskit_clientos_setfsnamespace: Set the Up: 11.2 Initialization Previous: 11.2.1 oskit_clientos_initoskit_clientos_init_pthreads: Initialize

11.2.2 oskit_clientos_sethostname: Set the hostname

 

SYNOPSIS

#include <oskit/clientos.h>

oskit_error_t oskit_clientos_sethostname(char *hostname, int len);

DESCRIPTION

Set the operating system hostname. This is typically called from the network initialization code, once the hostname has been determined.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



Utah Flux Research Group