From d2d5eb41e4cd3612d66c1819fded53dc9d97ed7d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 17 Sep 2001 21:30:58 +0000 Subject: [PATCH] * libc/include/process.h: Add getpid() declaration. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/process.h | 1 + 2 files changed, 5 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 759459f9c..71856f586 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 17 17:29:47 2001 Christopher Faylor + + * libc/include/process.h: Add getpid() declaration. + 2001-09-14 Nick Clifton * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit) diff --git a/newlib/libc/include/process.h b/newlib/libc/include/process.h index 49560e2a5..4f6fe40fe 100644 --- a/newlib/libc/include/process.h +++ b/newlib/libc/include/process.h @@ -41,6 +41,7 @@ pid_t sexecv(void *, const char *path, const char * const *argv); pid_t sexecve(void *, const char *path, const char * const *argv, const char * const *envp); pid_t sexecvp(void *, const char *path, const char * const *argv); pid_t sexecvpe(void *, const char *path, const char * const *argv, const char * const *envp); +pid_t getpid(void); #endif int cwait(int *, int, int);