5
Last change
on this file since a00dff42 was
a00dff42,
checked in by Sebastian Huber <sebastian.huber@…>, on 12/12/19 at 05:37:01
|
rtems: Add and use rtems_object_get_local_node()
Update #3841.
|
-
Property mode set to
100644
|
File size:
341 bytes
|
Line | |
---|
1 | #if HAVE_CONFIG_H |
---|
2 | #include "config.h" |
---|
3 | #endif |
---|
4 | |
---|
5 | #include <unistd.h> |
---|
6 | #include <rtems.h> |
---|
7 | |
---|
8 | /* |
---|
9 | * 4.3.1 Get Process Group IDs, P1003.1b-1993, p. 89 |
---|
10 | */ |
---|
11 | |
---|
12 | pid_t getpgrp( void ) |
---|
13 | { |
---|
14 | /* |
---|
15 | * This always succeeds and returns the process group id. For rtems, |
---|
16 | * this will always be the local node; |
---|
17 | */ |
---|
18 | |
---|
19 | return rtems_object_get_local_node(); |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.