Files
rtems/testsuites/libtests/POSIX/wait.c
Ralf Corsepius 0cd3878008 2009-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* POSIX/Makefile.am: Add wait.
	* POSIX/wait.c: New.
2009-12-04 06:55:02 +00:00

21 lines
347 B
C

/*
* Copyright (c) 2009 by
* Ralf Corsépius, Ulm, Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
#include <sys/types.h>
#include <sys/wait.h>
int
main (void)
{
int status;
pid_t pid;
pid = wait(&status);
return 0;
}