Lines Matching defs:setuname
33 * setuname [-t] [-s name] [-n node]
137 #define E_USAGE "usage: setuname [-t] [-s name] [-n node]"
167 * setuname Changes the system name and the network node name
170 static int setuname(); /* This does the "real" work */
348 /* Attempt the setuname */
349 if (setuname(t_seen, s_arg, n_arg) == 0) exitcode = EX_OK;
362 * int setuname(temp, name, node)
374 setuname(temp, sysname, nodename)
502 /* Write the new setuname "rc" file */
507 (void) fprintf(fd, "# This script, generated by the setuname command,\n");
511 (void) fprintf(fd, "setuname -t -s %s\n", sysnm);
538 (void) fprintf(stderr, "setuname: error in writing name\n");
542 (void) fprintf(stderr, "setuname: error in writing name\n");