mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
Removed getpid from this file and made it its own file. This lets it
get replaced as required.
This commit is contained in:
@@ -17,16 +17,6 @@ uid_t _POSIX_types_Euid = 0;
|
||||
gid_t _POSIX_types_Gid = 0;
|
||||
gid_t _POSIX_types_Egid = 0;
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
|
||||
*/
|
||||
|
||||
pid_t getpid( void )
|
||||
{
|
||||
return _Objects_Local_node;
|
||||
}
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
|
||||
|
||||
@@ -17,16 +17,6 @@ uid_t _POSIX_types_Euid = 0;
|
||||
gid_t _POSIX_types_Gid = 0;
|
||||
gid_t _POSIX_types_Egid = 0;
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
|
||||
*/
|
||||
|
||||
pid_t getpid( void )
|
||||
{
|
||||
return _Objects_Local_node;
|
||||
}
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
|
||||
|
||||
Reference in New Issue
Block a user