source:
trunk/libs/newlib/src/libgloss/riscv/sys_getpid.c
@
667
Last change on this file since 667 was 444, checked in by , 6 years ago | |
---|---|
File size: 246 bytes |
Rev | Line | |
---|---|---|
[444] | 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.