Add snprintf

Author: André Luyer