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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [syscalls/] [sysgetpid.c] - Blame information for rev 39

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

Line No. Rev Author Line
1 39 lampret
/* connector for getpid */
2
 
3
#include <reent.h>
4
 
5
int
6
getpid ()
7
{
8
#ifdef REENTRANT_SYSCALLS_PROVIDED
9
  return _getpid_r (_REENT);
10
#else
11
  return _getpid ();
12
#endif
13
}

powered by: WebSVN 2.1.0

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