source: rtems/cpukit/libcsupport/src/getpgrp.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: 344 bytes
Line 
1#if HAVE_CONFIG_H
2#include "config.h"
3#endif
4
5#include <unistd.h>
6#include <rtems/score/object.h>
7
8/*
9 *  4.3.1 Get Process Group IDs, P1003.1b-1993, p. 89
10 */
11
12pid_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 _Objects_Local_node;
20}
Note: See TracBrowser for help on using the repository browser.