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

4.115
Last change on this file since da154e14 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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