/***********************************************************************
* Code listing from "Advanced Linux Programming," by CodeSourcery LLC *
* Copyright (C) 2001 by New Riders Publishing *
* See COPYRIGHT for license information. *
***********************************************************************/
#include
#include
int main ()
{
printf ("uid=%d euid=%d\n", (int) getuid (), (int) geteuid ());
return 0;
}