source: rtems/c/src/lib/libc/__getpid.c @ 29fd4e38

4.104.114.84.95
Last change on this file since 29fd4e38 was 9c49db4, checked in by Joel Sherrill <joel.sherrill@…>, on 01/08/01 at 18:26:44

2001-01-08 Ralf Corsepius <corsepiu@…>

  • configure.in: Add libc/config.h
  • libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
  • libc/.cvsignore: Add config.h and stamp-h
  • libc/*.c: Add config.h support.
  • Property mode set to 100644
File size: 227 bytes
Line 
1/*
2 *  Some C Libraries reference this routine since they think getpid is
3 *  a real system call.
4 *
5 *  $Id$
6 */
7
8#if HAVE_CONFIG_H
9#include "config.h"
10#endif
11
12#include <unistd.h>
13
14pid_t __getpid(void)
15{
16  return getpid();
17}
18
Note: See TracBrowser for help on using the repository browser.