Return to Snippet

Revision: 35421
at November 8, 2010 05:17 by FACastello

Initial Code
#include <stdio.h>
#include <stdarg.h>

void pline(char* str, ...)
	char buf[256];
	va_list args;
	va_start(args, str);
	vsprintf(buf, str, args);

Initial URL

Initial Description
This is a custom implementation of printf. You can expand this function to do whatever else you want it to do.

Initial Title
Custom Printf function

Initial Tags

Initial Language