mirror of
https://github.com/encounter/newlib.git
synced 2026-03-30 11:31:09 -07:00
12 lines
246 B
C
12 lines
246 B
C
#include <machine/syscall.h>
|
|
|
|
/* Get process id. This is sometimes used to generate strings unlikely
|
|
to conflict with other processes. Minimal implementation for a
|
|
system without processes just returns 1. */
|
|
|
|
int
|
|
_getpid()
|
|
{
|
|
return 1;
|
|
}
|