I can't seem to find any information on checking privileges in C. What it the best way to check privileges? I don't have sudo setup, so it will always be root (uid 0) that runs the program. Second ...