Skip to content

Instantly share code, notes, and snippets.

@holmeshe
Created September 16, 2018 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save holmeshe/bbfd17ac85539f7dcd4aadfda3a47706 to your computer and use it in GitHub Desktop.
Save holmeshe/bbfd17ac85539f7dcd4aadfda3a47706 to your computer and use it in GitHub Desktop.
 case 'f':
 settings.factor = atof(optarg);
 if (settings.factor <= 1.0) {
 fprintf(stderr, "Factor must be greater than 1\n");
 return 1;
 }
 break;
 case 'o': 
 case SLAB_SIZES:
 if (_parse_slab_sizes(subopts_value, slab_sizes)) {
 use_slab_sizes = true;
 } else {
 return 1;
 }
 break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment