4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-14 17:59:28 +08:00

12 lines
248 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
/* NetWare version of getpid. This is supposed to return a unique
identifier which is used to create temporary file names. We use
the thread ID. I hope this is unique. */
#include <unistd.h>
pid_t
getpid ()
{
return GetThreadID ();
}