>>107959274
>>107959667
so, to give a really contrived example: say you're a 32-bit program, and you want to know whether the machine you're on has support for 64-bit programs. you could make a call to uname, sure. but again, then you have to parse a struct. it's way easier to just check if a `lib64` path exists, and as a bonus, that call probably doesn't even need a comment explaining what you're doing. it should be pretty obvious just from the call itself
bool supports_64_bit = access("/usr/lib64", F_OK) == 0;