source: rtems/cpukit/libcsupport/src/geteuid.c @ da154e14

4.115
Last change on this file since da154e14 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 408 bytes
Line 
1#if HAVE_CONFIG_H
2#include "config.h"
3#endif
4
5#include <unistd.h>
6
7#include <rtems/system.h>
8#include <rtems/score/object.h>
9#include <rtems/seterr.h>
10
11#include <rtems/userenv.h>
12
13/*
14 * MACRO in userenv.h
15uid_t _POSIX_types_Euid = 0;
16*/
17
18/*
19 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
20 *        P1003.1b-1993, p. 84
21 */
22
23uid_t geteuid( void )
24{
25  return _POSIX_types_Euid;
26}
Note: See TracBrowser for help on using the repository browser.