shithub: brokentoys

ref: 5a0e28438fe4c0f8cc55430c388c2016cc185cbf
dir: /consreadnum.c/

View raw version
#include <u.h>
#include <libc.h>

void
main()
{
	char tmp[64];
	int size;

	size = 2*1024*1024*1024;
	if(size > sizeof tmp || size < 0)
		size = sizeof tmp;
	snprint(tmp, sizeof tmp, "%*lud", size-1, 409234UL);
	tmp[size-1] = ' ';
	print("%s\n", tmp);
	exits(nil);
}