source: rtems/cpukit/posix/src/types.c @ f4719d5a

4.104.114.84.95
Last change on this file since f4719d5a was f4719d5a, checked in by Joel Sherrill <joel.sherrill@…>, on 05/22/96 at 22:32:39

These files have been modified in the initial pass at getting the portion
of the POSIX API necessary to support the GNAT runtime to initially compile.
We now have verified that the specifications for the necessary routines
are correct per the POSIX standards we have.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1/* types.c
2 *
3 *  $Id$
4 */
5
6#include <sys/types.h>
7
8#include <rtems/system.h>
9
10#ifdef NOT_IMPLEMENTED_YET
11
12/*PAGE
13 *
14 *  4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
15 */
16
17pid_t getpid( void )
18{
19  return POSIX_NOT_IMPLEMENTED();
20}
21
22/*PAGE
23 *
24 *  4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
25 */
26
27pid_t getppid( void )
28{
29  return POSIX_NOT_IMPLEMENTED();
30}
31
32/*PAGE
33 *
34 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
35 *        P1003.1b-1993, p. 84
36 */
37
38uid_t getuid( void )
39{
40  return POSIX_NOT_IMPLEMENTED();
41}
42
43/*PAGE
44 *
45 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
46 *        P1003.1b-1993, p. 84
47 */
48
49uid_t geteuid( void )
50{
51  return POSIX_NOT_IMPLEMENTED();
52}
53
54/*PAGE
55 *
56 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
57 *        P1003.1b-1993, p. 84
58 */
59
60gid_t getgid( void )
61{
62  return POSIX_NOT_IMPLEMENTED();
63}
64
65/*PAGE
66 *
67 *  4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs,
68 *        P1003.1b-1993, p. 84
69 */
70
71gid_t getegid( void )
72{
73  return POSIX_NOT_IMPLEMENTED();
74}
75
76/*PAGE
77 *
78 *  4.2.2 Set User and Group IDs, P1003.1b-1993, p. 84
79 */
80
81int setuid(
82  uid_t  uid
83)
84{
85  return POSIX_NOT_IMPLEMENTED();
86}
87
88/*PAGE
89 *
90 *  4.2.2 Set User and Group IDs, P1003.1b-1993, p. 84
91 */
92
93int setgid(
94  gid_t  gid
95)
96{
97  return POSIX_NOT_IMPLEMENTED();
98}
99
100/*PAGE
101 *
102 *  4.2.3 Get Supplementary IDs, P1003.1b-1993, p. 86
103 */
104
105int getgroups(
106  int    gidsetsize,
107  gid_t  grouplist[]
108)
109{
110  return POSIX_NOT_IMPLEMENTED();
111}
112
113/*PAGE
114 *
115 *  4.2.4 Get User Name, P1003.1b-1993, p. 87
116 *
117 *  NOTE:  P1003.1c/D10, p. 49 adds getlogin_r().
118 */
119
120char *getlogin( void )
121{
122  return (char *)POSIX_NOT_IMPLEMENTED();
123}
124
125/*PAGE
126 *
127 *  4.2.4 Get User Name, P1003.1b-1993, p. 87
128 *
129 *  NOTE:  P1003.1c/D10, p. 49 adds getlogin_r().
130 */
131
132char *getlogin_r( void )
133{
134  return (char *)POSIX_NOT_IMPLEMENTED();
135}
136
137/*PAGE
138 *
139 *  4.3.1 Get Process Group IDs, P1003.1b-1993, p. 89
140 */
141
142pid_t getpgrp( void )
143{
144  return POSIX_NOT_IMPLEMENTED();
145}
146
147/*PAGE
148 *
149 *  4.3.2 Create Session and Set Process Group ID, P1003.1b-1993, p. 88
150 */
151
152pid_t setsid( void )
153{
154  return POSIX_NOT_IMPLEMENTED();
155}
156
157/*PAGE
158 *
159 *  4.3.3 Set Process Group ID for Job Control, P1003.1b-1993, p. 89
160 */
161
162int setpgid(
163  pid_t  pid,
164  pid_t  pgid
165)
166{
167  return POSIX_NOT_IMPLEMENTED();
168}
169
170#endif
Note: See TracBrowser for help on using the repository browser.