source: trunk/libs/newlib/src/newlib/libc/sys/netware/getpid.c @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 248 bytes
Line 
1/* NetWare version of getpid.  This is supposed to return a unique
2   identifier which is used to create temporary file names.  We use
3   the thread ID.  I hope this is unique.  */
4
5#include <unistd.h>
6
7pid_t
8getpid ()
9{
10  return GetThreadID ();
11}
Note: See TracBrowser for help on using the repository browser.