source:
trunk/libs/newlib/src/libgloss/riscv/sys_getpid.c
@
617
Last change on this file since 617 was 444, checked in by , 6 years ago | |
---|---|
File size: 246 bytes |
Line | |
---|---|
1 | #include <machine/syscall.h> |
2 | |
3 | /* Get process id. This is sometimes used to generate strings unlikely |
4 | to conflict with other processes. Minimal implementation for a |
5 | system without processes just returns 1. */ |
6 | |
7 | int |
8 | _getpid() |
9 | { |
10 | return 1; |
11 | } |
Note: See TracBrowser
for help on using the repository browser.