sysconf should be checked for error values