|
6 | 6 | /* By: cnascime <[email protected]> +#+ +:+ +#+ */
|
7 | 7 | /* +#+#+#+#+#+ +#+ */
|
8 | 8 | /* Created: 2022/07/20 21:51:16 by cnascime #+# #+# */
|
9 |
| -/* Updated: 2022/08/11 04:51:32 by cnascime ### ########.fr */ |
| 9 | +/* Updated: 2022/08/11 08:09:24 by cnascime ### ########.fr */ |
10 | 10 | /* */
|
11 | 11 | /* ************************************************************************** */
|
12 | 12 |
|
@@ -38,13 +38,8 @@ int treatment(int fd, char character, va_list listofarguments)
|
38 | 38 | - Left-justify within the given field width; Right justification is the default.
|
39 | 39 | 0 ~Left-pads~ the number with zeroes (0) instead of spaces.
|
40 | 40 | . precision (displays only .X amount of characters)
|
41 |
| -# Used with o, x or X specifiers, the value is ~preceded~ with 0, 0x or 0X |
| 41 | +# Used with x or X specifiers, the value is ~preceded~ with 0, 0x or 0X |
42 | 42 | respectively for values different from zero.
|
43 |
| -Used with e, E and f, it forces the written output to contain a decimal point |
44 |
| -even if no digits would follow. |
45 |
| -By default, if no digits follow, no decimal point is written. |
46 |
| -Used with g or G the result is the same as with e or E, |
47 |
| -but trailing zeros are not removed. |
48 | 43 | + Forces to precede the result with a + or - sign, even for positive numbers.
|
49 | 44 | space If no sign is going to be written, a space is inserted before the value.
|
50 | 45 |
|
|
0 commit comments