uts 45 maint/gnulib/lib/gethostname.c struct utsname uts; uts 47 maint/gnulib/lib/gethostname.c if (uname (&uts) == -1) uts 49 maint/gnulib/lib/gethostname.c if (len > sizeof (uts.nodename)) uts 52 maint/gnulib/lib/gethostname.c name[sizeof (uts.nodename)] = '\0'; uts 53 maint/gnulib/lib/gethostname.c len = sizeof (uts.nodename); uts 55 maint/gnulib/lib/gethostname.c strncpy (name, uts.nodename, len);