Skip to content

Instantly share code, notes, and snippets.

@neofob
Created August 26, 2013 22:37
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 neofob/6347495 to your computer and use it in GitHub Desktop.
Save neofob/6347495 to your computer and use it in GitHub Desktop.
machine word, interview question :D
void GruntFunction(unsigned long offset, unsigned int);

bool AweSomeFunction(unsigned long offset, unsigned long length)
{
  int err;
  GruntFunction(unsigned long offset, (unsigned int) length);
  err = errno;
  return (err == 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment