Skip to content

Instantly share code, notes, and snippets.

@uhziel
Created September 30, 2011 14:11
Show Gist options
  • Save uhziel/1253845 to your computer and use it in GitHub Desktop.
Save uhziel/1253845 to your computer and use it in GitHub Desktop.
apue.2e.fig1.9.c
#include "apue.h"
int main()
{
printf("uid = %d, gid = %d\n", getuid(), getgid());
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment