OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [exec/] [posix/] [src/] [getpgrp.c] - Blame information for rev 158

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*
2
 *  $Id: getpgrp.c,v 1.1.1.1 2001-07-10 09:42:34 chris Exp $
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.3.1 Get Process Group IDs, P1003.1b-1993, p. 89
17
 */
18
 
19
pid_t getpgrp( void )
20
{
21
  /*
22
   *  This always succeeds and returns the process group id.  For rtems,
23
   *  this will always be the local node;
24
   */
25
 
26
  return _Objects_Local_node;
27
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.