source: rtems/cpukit/posix/src/getpid.c @ 7d5566e

4.104.114.84.95
Last change on this file since 7d5566e was d627c0c4, checked in by Joel Sherrill <joel.sherrill@…>, on 03/10/97 at 16:57:08

created. Split getpid() from types.c to allow it to be overridden by
cxe1001 of the ACVC 2.0.1. This allows gnat/rtems to pass the partition
tests.

  • Property mode set to 100644
File size: 328 bytes
Line 
1/*
2 *  $Id$
3 */
4
5#include <limits.h>
6#include <errno.h>
7#include <string.h>
8#include <sys/types.h>
9
10#include <rtems/system.h>
11#include <rtems/score/object.h>
12#include <rtems/posix/seterr.h>
13
14/*PAGE
15 *
16 *  4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
17 */
18
19pid_t getpid( void )
20{
21  return _Objects_Local_node;
22}
Note: See TracBrowser for help on using the repository browser.