Searched refs:sethost (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libcmd/
H A Duname.c62 "[S:sethost?Set the hostname or nodename to \aname\a. No output is"
260 char* sethost = 0; local
325 sethost = opt_info.arg;
343 if (error_info.errors || *argv && (flags || sethost) || sethost && flags)
345 if (sethost)
348 if (sethostname(sethost, strlen(sethost) + 1))
356 error(ERROR_system(1), "%s: cannot set host name", sethost);

Completed in 6 milliseconds