summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sw/z80/kernel/process.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sw/z80/kernel/process.c b/sw/z80/kernel/process.c
index f33ead6..49b86b8 100644
--- a/sw/z80/kernel/process.c
+++ b/sw/z80/kernel/process.c
@@ -2,9 +2,15 @@
struct process proc_table[255];
-int fork(void)
+pid_t newpid(void)
{
+ static pid_t last_pid = 0;
+ return ++last_pid;
+}
+int fork(void)
+{
+
}
int exec(char *path, char *args)
@@ -15,4 +21,4 @@ int exec(char *path, char *args)
int spawn(char *path, char *args)
{
-} \ No newline at end of file
+}