Check for errors when calling sysconf()