source:
trunk/libs/newlib/src/newlib/libc/sys/netware/getpid.c
@
444
Last change on this file since 444 was 444, checked in by , 6 years ago | |
---|---|
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 | |
7 | pid_t |
8 | getpid () |
9 | { |
10 | return GetThreadID (); |
11 | } |
Note: See TracBrowser
for help on using the repository browser.