diff options
Diffstat (limited to 'lib/libc/arch/ns32k/sys/fork.S')
-rw-r--r-- | lib/libc/arch/ns32k/sys/fork.S | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/libc/arch/ns32k/sys/fork.S b/lib/libc/arch/ns32k/sys/fork.S deleted file mode 100644 index a47b9c82d5e..00000000000 --- a/lib/libc/arch/ns32k/sys/fork.S +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 1992 Helsinki University of Technology - * All Rights Reserved. - * - * Permission to use, copy, modify and distribute this software and its - * documentation is hereby granted, provided that both the copyright - * notice and this permission notice appear in all copies of the - * software, derivative works or modified versions, and any portions - * thereof, and that both notices appear in supporting documentation. - * - * HELSINKI UNIVERSITY OF TECHNOLOGY ALLOWS FREE USE OF THIS SOFTWARE IN - * ITS "AS IS" CONDITION. HELSINKI UNIVERSITY OF TECHNOLOGY DISCLAIMS ANY - * LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE - * USE OF THIS SOFTWARE. - */ - -#include "SYS.h" - -#if defined(SYSLIBC_SCCS) - .text - .asciz "$OpenBSD: fork.S,v 1.2 1996/08/19 08:17:08 tholo Exp $" -#endif /* SYSLIBC_SCCS */ - -/* r0 = pid. r1 = 0 in parent, 1 in child */ - -SYSCALL(fork) - cmpqd 0, r1 - beq parent - movqd 0, r0 -parent: - ret 0 /* pid = fork() */ |