Like printf, reprint also has conversion specifiers to control data formatting. The conversion specifier breaks down to the following parts
- Field Header: Indicates start of conversion specifier. The \f header starts a formatted specifier, while \b header starts a binary output specifier.
- Packing Directive: Specify whether source data is tightly packed or packed as a C struct.
- Output Control: Various parameters for controlling output.
- Input Specification: Various parameters for interpreting the input. At minimum there is a size specification, which terminates the conversion specifier.
The exact characters comprising these sections are shown in the ASCII table breakdown of the conversion specifier syntax.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.