/* $Id: pvmffrzgrp.m4,v 1.2 1996/10/04 15:27:03 pvmsrc Exp $ */

#include "pvm3.h"
#include "pvm_consts.h"

void
FUNCTION(pvmffreezegroup) ARGS(`STRING_ARG(group), count, info')
STRING_ARG_DECL(group);
int *count, *info;
{
	char tgroup[MAX_GRP_NAME + 1];

	/*
	 * Copy the group name to make sure there's
	 * a NUL at the end.
	 */
	if (ftocstr(tgroup, sizeof(tgroup), STRING_PTR(group), STRING_LEN(group))){
		*info = PvmBadParam;
		return;
	}

	*info = pvm_freezegroup(tgroup, *count);
}



syntax highlighted by Code2HTML, v. 0.9.1