1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#ifndef _ARGUMENT_PRINTER_H_
#define _ARGUMENT_PRINTER_H_

/**
 * Prints all arguments as specified by the argument string
 * For each c, prints a character
 * For each d, prints a digit, or an error if the digit is too big
 * For each f, prints the first digit from a double when truncated
 * For each s, prints a string
 * Anything else is printed literally
 */
void print_arguments(char* arguments, ...);

#endif

© Copyright 2024 Alexander J. Quinn & David Burnett         This content is protected and may not be shared, uploaded, or distributed.