Skip to content

Instantly share code, notes, and snippets.

@rasta-mouse
Created January 4, 2015 10:07
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 rasta-mouse/847e5a36bdb269bb9881 to your computer and use it in GitHub Desktop.
Save rasta-mouse/847e5a36bdb269bb9881 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
if(!argv[1])
exit(1);
printf("%#x\n", getenv(argv[1]));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment