|
|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 351 (0x15f)
Types: TextFile
Notes: UNIX file
Names: »mout.c«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
└─⟦f4b8d8c84⟧ UNIX Filesystem
└─⟦this⟧ »libmp/mout.c«
#include <stdio.h>
#include "mprec.h"
/*
* Mout writes on stdout the value of the mint pointed to by "a"
* in base "obase".
*/
void
mout(a)
mint *a;
{
register char *res;
char *mark;
register int len;
mark = res = mtos(a);
for (len = strlen(res) / 72; len-- > 0; res += 72)
printf("%.72s\\\n", res);
printf("%s", res);
mpfree(mark);
}