xref: /csrg-svn/lib/libc/tahoe/sys/getppid.s (revision 34389)
129463Ssam/*
229463Ssam * Copyright (c) 1983 Regents of the University of California.
3*34389Sbostic * All rights reserved.
4*34389Sbostic *
5*34389Sbostic * Redistribution and use in source and binary forms are permitted
6*34389Sbostic * provided that this notice is preserved and that due credit is given
7*34389Sbostic * to the University of California at Berkeley. The name of the University
8*34389Sbostic * may not be used to endorse or promote products derived from this
9*34389Sbostic * software without specific written prior permission. This software
10*34389Sbostic * is provided ``as is'' without express or implied warranty.
1129463Ssam */
1229463Ssam
13*34389Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
14*34389Sbostic_sccsid:.asciz	"@(#)getppid.s	5.2 (Berkeley) 05/20/88"
15*34389Sbostic#endif /* SYSLIBC_SCCS and not lint */
1629463Ssam
1729463Ssam#include "SYS.h"
1829463Ssam
1929463SsamPSEUDO(getppid,getpid)
2029463Ssam	movl	r1,r0
2129463Ssam	ret		# ppid = getppid();
22