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

Subversion Repositories or1k

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

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

Line No. Rev Author Line
1 158 chris
/*
2 208 chris
 *  $Id: getppid.c,v 1.2 2001-09-27 11:59:17 chris Exp $
3 158 chris
 */
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
pid_t _POSIX_types_Ppid = 0;
15
 
16
/*PAGE
17
 *
18
 *  4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
19
 */
20
 
21
pid_t getppid( void )
22
{
23
  return _POSIX_types_Ppid;
24
}
25
 

powered by: WebSVN 2.1.0

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