source: rtems/cpukit/libcsupport/src/getppid.c @ e02d5dd9

4.115
Last change on this file since e02d5dd9 was a2e3f33, checked in by Sebastian Huber <sebastian.huber@…>, on 07/24/13 at 11:50:54

score: Create object implementation header

Move implementation specific parts of object.h and object.inl into new
header file objectimpl.h. The object.h contains now only the
application visible API.

  • Property mode set to 100644
File size: 372 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Get Process and Parent Process IDs
5 *  @ingroup libcsupport
6 */
7
8#if HAVE_CONFIG_H
9#include "config.h"
10#endif
11
12#include <unistd.h>
13
14#include <rtems/system.h>
15#include <rtems/seterr.h>
16
17pid_t _POSIX_types_Ppid = 0;
18
19/**
20 *  4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
21 */
22pid_t getppid( void )
23{
24  return _POSIX_types_Ppid;
25}
Note: See TracBrowser for help on using the repository browser.