bringing back to the mailing list
uname() is the usual routine to use, see man 3 uname for details.
uname is implemented in terms of uname(), which is what the
llvm::host::osName() and llvm::host:::osVersion() functions I
added are querying. However, the plan is to replace those with
one function which just constructs the target triple of the host.
Will such a function suffice for doing the right thing on FreeBSD?