Skip to content

siprintf : write formatted output (integer only)

#include <stdio.h>
int siprintf(char *str, const char *format [, arg, ...]);
```### Description
siprintf is a restricted version of sprintf: it has the same arguments and behavior, save that it cannot perform any floating-point formatting: the f, g, G, e, and F type specifiers are not recognized.### Returns
siprintf returns the number of bytes in the output string, save that the concluding NULL is not counted. siprintf returns when the end of the format string is encountered.
---
**Authoritative source**: BUSMASTER DITA help source `siprintf.dita`, compiled into `BUSMASTER.CHM` with the application.