Home
last modified time | relevance | path

Searched refs:sysname (Results 1 – 25 of 27) sorted by relevance

12

/openbsd/usr.bin/sendbug/
H A Dsendbug.c368 int sysname[2]; in init() local
374 sysname[0] = CTL_KERN; in init()
375 sysname[1] = KERN_OSTYPE; in init()
377 if (sysctl(sysname, 2, &os, &len, NULL, 0) == -1) in init()
380 sysname[0] = CTL_KERN; in init()
381 sysname[1] = KERN_OSRELEASE; in init()
383 if (sysctl(sysname, 2, &rel, &len, NULL, 0) == -1) in init()
386 sysname[0] = CTL_KERN; in init()
387 sysname[1] = KERN_VERSION; in init()
403 sysname[0] = CTL_HW; in init()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20000403-1.c2 char sysname[32 ]; member
13 if (sysctl(mib, 2, &name->sysname, &len, 0 , 0) == -1)
/openbsd/libexec/ld.so/
H A Ddl_uname.c55 len = sizeof(name->sysname); in _dl_uname()
56 if (_dl_sysctl(otmib, 2, &name->sysname, &len, NULL, 0) < 0) in _dl_uname()
H A Dresolve.c148 if (uts.sysname[0] == '\0') { in _dl_origin_subst_path()
180 value = uts.sysname; in _dl_origin_subst_path()
/openbsd/lib/libc/gen/
H A Duname.c48 len = sizeof(name->sysname); in uname()
49 if (sysctl(mib, 2, &name->sysname, &len, NULL, 0) == -1) in uname()
/openbsd/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c71 char *sysname; in cd9660_add_boot_disk() local
86 sysname = temp; in cd9660_add_boot_disk()
87 filename = strchr(sysname, ';'); in cd9660_add_boot_disk()
101 if (strcmp(sysname, "i386") == 0) in cd9660_add_boot_disk()
103 else if (strcmp(sysname, "powerpc") == 0) in cd9660_add_boot_disk()
105 else if (strcmp(sysname, "macppc") == 0) in cd9660_add_boot_disk()
107 else if (strcmp(sysname, "efi") == 0) in cd9660_add_boot_disk()
/openbsd/sys/sys/
H A Dutsname.h44 char sysname[SYS_NMLN]; /* Name of this OS. */ member
/openbsd/usr.bin/uname/
H A Duname.c102 fputs(u.sysname, stdout); in main()
/openbsd/usr.bin/what/
H A Dwhat.c78 strlcpy(match, utsn.sysname, sizeof match); in main()
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/OpenBSD/
H A DPlatformOpenBSD.cpp144 strm.Printf(" Kernel: %s\n", un.sysname); in GetStatus()
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/FreeBSD/
H A DPlatformFreeBSD.cpp152 strm.Printf(" Kernel: %s\n", un.sysname); in GetStatus()
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/NetBSD/
H A DPlatformNetBSD.cpp138 strm.Printf(" Kernel: %s\n", un.sysname); in GetStatus()
/openbsd/libexec/getty/
H A Dmain.c576 xputs(kerninfo.sysname); in putf()
/openbsd/usr.bin/tmux/
H A Dproc.c194 log_debug("on %s %s %s; libevent %s (%s)", u.sysname, u.release, in proc_start()
/openbsd/sys/arch/alpha/alpha/
H A Dmachdep.c847 const char *sysname; in alpha_dsr_sysname() local
856 sysname = (const char *)((caddr_t)dsr + (dsr->dsr_sysname_off + in alpha_dsr_sysname()
858 return (sysname); in alpha_dsr_sysname()
/openbsd/gnu/usr.bin/perl/win32/
H A Dwin32.h165 char sysname[SYS_NMLN]; member
H A Dwin32.c2634 strcpy(name->sysname, "Windows"); in win32_uname()
2637 strcpy(name->sysname, "Windows NT"); in win32_uname()
2640 strcpy(name->sysname, "Win32s"); in win32_uname()
2643 strcpy(name->sysname, "Win32 Unknown"); in win32_uname()
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/Linux/
H A DPlatformLinux.cpp151 strm.Printf(" Kernel: %s\n", un.sysname); in GetStatus()
/openbsd/sbin/dhcp6leased/
H A Dfrontend.c158 utsname.sysname, utsname.release, utsname.machine); in frontend()
/openbsd/gnu/usr.bin/perl/ext/POSIX/
H A DPOSIX.xs3145 PUSHs(newSVpvn_flags(buf.sysname, strlen(buf.sysname), SVs_TEMP));
/openbsd/usr.sbin/snmpd/
H A Dparse.y1843 u.sysname, u.nodename, u.release, u.version, u.machine); in parse_config()
/openbsd/usr.bin/mandoc/
H A Dmdoc_validate.c2903 utsname.sysname, utsname.release); in post_os()
/openbsd/gnu/usr.bin/perl/ext/POSIX/lib/
H A DPOSIX.pod2207 ($sysname, $nodename, $release, $version, $machine)
2212 The C<$sysname> might be the name of the operating system,
/openbsd/gnu/llvm/compiler-rt/lib/msan/tests/
H A Dmsan_test.cpp3558 EXPECT_NOT_POISONED(strlen(u.sysname)); in TEST()
/openbsd/gnu/usr.bin/binutils/etc/
H A Dstandards.texi1946 @item sysname

12