#include	"svmsg.h"

void	server(int, int);

int
main(int argc, char **argv)
{
	int		msqid;

	msqid = Msgget(MQ_KEY1, SVMSG_MODE | IPC_CREAT);

	server(msqid, msqid);	/* same queue for both directions */

	exit(0);
}


syntax highlighted by Code2HTML, v. 0.9.1