From 7edb9281a2e9da28fdaa64a7a71905a24e0dc6f8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 5 Nov 1999 19:02:03 +0000 Subject: Following comments from Eric Norum , a fairly substantial upgrade of newlibc.c occurred. Now the user extension data area is used rather than notepads and as many routines as possible were split into other files further reducing the minimum footprint of an RTEMS executable. --- c/src/lib/libc/__getpid.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 c/src/lib/libc/__getpid.c (limited to 'c/src/lib/libc/__getpid.c') diff --git a/c/src/lib/libc/__getpid.c b/c/src/lib/libc/__getpid.c new file mode 100644 index 0000000000..32353b717d --- /dev/null +++ b/c/src/lib/libc/__getpid.c @@ -0,0 +1,14 @@ +/* + * Some C Libraries reference this routine since they think getpid is + * a real system call. + * + * $Id$ + */ + +#include + +pid_t __getpid(void) +{ + return getpid(); +} + -- cgit v1.2.3