/* $Copyright:	$
 * Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 
 * Sequent Computer Systems, Inc.   All rights reserved.
 *  
 * This software is furnished under a license and may be used
 * only in accordance with the terms of that license and with the
 * inclusion of the above copyright notice.   This software may not
 * be provided or otherwise made available to, or used by, any
 * other person.  No title to or ownership of the software is
 * hereby transferred.
 */

#ident "$Header: _p__ffork.c 1.1 89/06/16 $"

#include <stdio.h>
/* #include <signal.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/times.h>
#include <sys/resource.h>

#include "parallel.h"
#include "microtask.h"
#include "parc.h"
*/

/* Fork time--flush all output files */

/*ARGSUSED*/
_p__ffork()
{
	register FILE **iov;
	extern FILE **_iobstart, **_iobend;
	for (iov = _iobstart; iov < _iobend; iov++)
		if (*iov && _active(*iov))
			(void)fflush(*iov);
}
