diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-05 19:02:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-05 19:02:03 +0000 |
commit | 7edb9281a2e9da28fdaa64a7a71905a24e0dc6f8 (patch) | |
tree | f401ae5204e4f045b1788bbdad709bbf85e0ab2b /c/src/lib/libc/__getpid.c | |
parent | Patch from Eric Valette <valette@crf.canon.fr> so this will build (diff) | |
download | rtems-7edb9281a2e9da28fdaa64a7a71905a24e0dc6f8.tar.bz2 |
Following comments from Eric Norum <eric@cls.usask.ca>, 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.
Diffstat (limited to 'c/src/lib/libc/__getpid.c')
-rw-r--r-- | c/src/lib/libc/__getpid.c | 14 |
1 files changed, 14 insertions, 0 deletions
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 <unistd.h> + +pid_t __getpid(void) +{ + return getpid(); +} + |