Searched refs:sysname (Results 1 – 8 of 8) sorted by relevance
138 def platform_lookup(sysname): argument139 if sysname == "Darwin":141 elif sysname == "FreeBSD":143 elif sysname == "Haiku":145 elif sysname == "Linux":147 elif sysname == "OpenBSD":149 elif sysname == "SunOS":152 berror("Unknown platform: " + sysname)
38 strlcpy(info->sysname, "Haiku", sizeof(info->sysname)); in uname()
54 return (uname(&info) == 0 && strcmp(info.sysname, "Haiku") == 0); in is_running_on_haiku()
12 char sysname[_SYS_NAMELEN]; /* Name of the OS */ member
17 if (uname(&unameInfo) < 0 || strcmp(unameInfo.sysname, "Haiku") != 0) in main()
151 if (uname(&unameInfo) < 0 || strcmp(unameInfo.sysname, "Haiku") != 0) in main()
433 if (!*kerninfo.sysname) in putf()478 putstr(kerninfo.sysname); in putf()
730 warning.ReplaceFirst("%osName", name.sysname); in ConfirmChangeIfWellKnownDirectory()