Skip to content

Instantly share code, notes, and snippets.

@kaworu
Created September 18, 2013 16:01
Show Gist options
  • Save kaworu/6611387 to your computer and use it in GitHub Desktop.
Save kaworu/6611387 to your computer and use it in GitHub Desktop.
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
int
main(int argc, char *argv[])
{
(void)printf("errno=%d\n", errno);
(void)malloc(42);
(void)printf("errno=%d\n", errno);
return (0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment