This commit is contained in:
2023-08-22 23:40:21 +03:00
parent 0ced3172fc
commit a13e36d7db

View File

@@ -1,7 +1,7 @@
#include "main.h" #include "main.h"
/** /**
* printf_exclusive_string - print exclusuives string. * printf_exclusive_string - print exclusuives string.
* @val: argumen t. * @val: argument.
* Return: the length of the string. * Return: the length of the string.
*/ */
@@ -18,6 +18,7 @@ int printf_exclusive_string(va_list val)
{ {
if (s[i] < 32 || s[i] >= 127) if (s[i] < 32 || s[i] >= 127)
{ {
/* speical*/
_putchar('\\'); _putchar('\\');
_putchar('x'); _putchar('x');
len = len + 2; len = len + 2;