mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 19:03:15 +01:00
Created a config directory for configuration files. Moved all absolute path variables to a projpaths.py file All scripts can now universally learn absolute paths via projpaths.py Moved the config_symbols class to the configuration.py file. Moved libs to loader since they are only referred by the loader
21 lines
288 B
C
21 lines
288 B
C
/*
|
|
Author: Ben Leslie <benjl@cse.unsw.edu.au>
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include "format.h"
|
|
|
|
#include <assert.h>
|
|
|
|
int
|
|
snprintf(char *s, size_t size, const char *format, ...)
|
|
{
|
|
int ret;
|
|
va_list ap;
|
|
|
|
va_start(ap, format);
|
|
ret = vsnprintf(s, size, format, ap);
|
|
va_end(ap);
|
|
return ret;
|
|
}
|