<function>
<fname>ms_do</fname>
<prototype>

int
ms_do(int (*func)(), void * arg, char str[])


</prototype>
<explanation>

funcAargL[ɂȂÅ֐̎sÎ܂BIAfunc̖߂lԂB

</explanation>
<return>

</return>
<details>

Ƃ΁A
<pre>
V_DIKSPLAY*
v_func(int a int b)
{
V_DISPLAY * c;
	.....s.....
	return c
}
</pre>
Ƃ悤X֐݂Ȃ̂āAmsequence Ήɂ邽߂
́A
<pre>
typedef struct arg {
	int a;
	int b;
	V_DISPLAY * c;
}:

/*@BODY */
int
_v_func(struct arg * ag)
{
	..... s .....
	ag->c = c;
	return 0;
}

/* GRUE */
V_DISPLAY *
v_func(int a,int b)
{
struct arg ag;
	ag.a = a;
	ag.b = b;
	ms_do(_v_func,&ag,"v_func");
	return ag.c;
}
</pre>
Ƃ悤ɏ܂B

ꂾƁAv_loop ̎sƂȂ܂Av_loop ̒gfor ɂ郋[v
GRUE ̂ȂōsACxgƂĂ镔݂̂msequence ɂ܂B

</details>
</function>