platform/platform.c
/*	Sets the local error message.
*/
Sets the local error message.
Sets the local error message .
void plSetError(const char *msg, ...)
{
	char	out[MAX_ERROR_LENGTH];
	va_list args;
	va_start(args, msg);
	vsprintf(out, msg, args);
	va_end(args);
	strncpy(loc_error, out, sizeof(loc_error));
}
void plSetError ( const char * msg , ... ) { char out [ MAX_ERROR_LENGTH ] ; va_list args ; va_start ( args , msg ) ; vsprintf ( out , msg , args ) ; va_end ( args ) ; strncpy ( loc_error , out , sizeof ( loc_error ) ) ; }
Sets the local error message.
Sets the local error message .