Welcome to mirror list, hosted at ThFree Co, Russian Federation.

getpid.c « netware « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9218dfcc3dc5d5ab090a14ea7c9655d5f841a45e (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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 ();
}