source: rtems/cpukit/libcsupport/src/getpgrp.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: 348 bytes
Line 
1#if HAVE_CONFIG_H
2#include "config.h"
3#endif
4
5#include <unistd.h>
6#include <rtems/score/objectimpl.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.