check the return value of function uname(&ubuffer)