Searched refs:ARCH_LENGTH (Results 1 – 2 of 2) sorted by relevance
41 #define ARCH_LENGTH MAXNAMELEN macro
3260 static char default_inst[ARCH_LENGTH] = ""; in be_get_default_isa()3264 if ((int)strlen(envp) >= ARCH_LENGTH) in be_get_default_isa()3269 i = sysinfo(SI_ARCHITECTURE, default_inst, ARCH_LENGTH); in be_get_default_isa()3270 if (i < 0 || i > ARCH_LENGTH) in be_get_default_isa()3294 static char default_inst[ARCH_LENGTH] = ""; in be_get_platform()3297 i = sysinfo(SI_PLATFORM, default_inst, ARCH_LENGTH); in be_get_platform()3298 if (i < 0 || i > ARCH_LENGTH) in be_get_platform()