Rev 2712 | Rev 3058 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2712 | Rev 2745 | ||
---|---|---|---|
Line 175... | Line 175... | ||
175 | * @param precision Precision modifier. |
175 | * @param precision Precision modifier. |
176 | * @param flags Flags that modify the way the string is printed. |
176 | * @param flags Flags that modify the way the string is printed. |
177 | * |
177 | * |
178 | * @return Number of characters printed, negative value on failure. |
178 | * @return Number of characters printed, negative value on failure. |
179 | */ |
179 | */ |
180 | static int print_string(char *s, int width, int precision, uint64_t flags, |
180 | static int print_string(char *s, int width, unsigned int precision, |
181 | struct printf_spec *ps) |
181 | uint64_t flags, struct printf_spec *ps) |
182 | { |
182 | { |
183 | int counter = 0; |
183 | int counter = 0; |
184 | size_t size; |
184 | size_t size; |
185 | int retval; |
185 | int retval; |
186 | 186 |