xref: /csrg-svn/lib/libc/vax/sys/getppid.s (revision 41830)
121827Sdist/*
221827Sdist * Copyright (c) 1983 Regents of the University of California.
334391Sbostic * All rights reserved.
434391Sbostic *
534391Sbostic * Redistribution and use in source and binary forms are permitted
634830Sbostic * provided that the above copyright notice and this paragraph are
734830Sbostic * duplicated in all such forms and that any documentation,
834830Sbostic * advertising materials, and other materials related to such
934830Sbostic * distribution and use acknowledge that the software was developed
1034830Sbostic * by the University of California, Berkeley.  The name of the
1134830Sbostic * University may not be used to endorse or promote products derived
1234830Sbostic * from this software without specific prior written permission.
1334830Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1434830Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1534830Sbostic * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1621827Sdist */
179468Smckusick
1834391Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
19*41830Sbostic	.asciz "@(#)getppid.s	5.6 (Berkeley) 05/12/90"
2034391Sbostic#endif /* SYSLIBC_SCCS and not lint */
2121827Sdist
229468Smckusick#include "SYS.h"
239468Smckusick
249468SmckusickPSEUDO(getppid,getpid)
259468Smckusick	movl	r1,r0
26*41830Sbostic	ret		/* ppid = getppid(); */
27