Added swnprintf.