source: trunk/libs/newlib/src/libgloss/riscv/sys_getpid.c @ 529

Last change on this file since 529 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

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
7int
8_getpid()
9{
10  return 1;
11}
Note: See TracBrowser for help on using the repository browser.