xref: /csrg-svn/lib/libc/vax/sys/wait.s (revision 34830)
121901Sdist/*
221901Sdist * 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
6*34830Sbostic * provided that the above copyright notice and this paragraph are
7*34830Sbostic * duplicated in all such forms and that any documentation,
8*34830Sbostic * advertising materials, and other materials related to such
9*34830Sbostic * distribution and use acknowledge that the software was developed
10*34830Sbostic * by the University of California, Berkeley.  The name of the
11*34830Sbostic * University may not be used to endorse or promote products derived
12*34830Sbostic * from this software without specific prior written permission.
13*34830Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*34830Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*34830Sbostic * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1621901Sdist */
179985Ssam
1834391Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
19*34830Sbostic	.asciz "@(#)wait.s	5.5 (Berkeley) 06/27/88"
2034391Sbostic#endif /* SYSLIBC_SCCS and not lint */
2121901Sdist
229985Ssam#include "SYS.h"
239985Ssam
249985SsamSYSCALL(wait)
259985Ssam	tstl	4(ap)
269985Ssam	jeql	1f
279985Ssam	movl	r1,*4(ap)
289985Ssam1:
299985Ssam	ret
30