Searched refs:n_uts (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/lib/libbc/libc/sys/common/ |
H A D | uname.c | 61 struct n_utsname n_uts; in bc_uname() local 64 if ((ret = _syscall(SYS_uname, &n_uts)) != -1) { in bc_uname() 65 memcpy(uts->sysname, n_uts.sysname, SYS_NMLN); in bc_uname() 66 if (strlen(n_uts.sysname) > SYS_NMLN) in bc_uname() 74 memcpy(uts->nodename, n_uts.nodename, SYS_NMLN); in bc_uname() 75 memcpy(uts->nodeext, n_uts.nodename + SYS_NMLN, in bc_uname() 77 if (strlen(n_uts.nodename) > SYS_NDLN) in bc_uname() 80 memcpy(uts->release, n_uts.release, SYS_NMLN); in bc_uname() 81 if (strlen(n_uts.release) > SYS_NMLN) in bc_uname() 83 memcpy(uts->version, n_uts.version, SYS_NMLN); in bc_uname() [all …]
|