/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "e.h"
#include "e.def"
#include <locale.h>
void
funny(int n)
{
char *f;
switch (n) {
case SUM:
f = "\\(*S"; break;
case UNION:
f = "\\(cu"; break;
case INTER: /* intersection */
f = "\\(ca"; break;
case PROD:
f = "\\(*P"; break;
default:
}
#ifndef NEQN
printf(".ds %d \\s%d\\v'.3m'\\s+5%s\\s-5\\v'-.3m'\\s%d\n",
#else /* NEQN */
#endif /* NEQN */
if (dbg)
printf(".\tfunny: S%d <- %s; h=%d b=%d\n",
}