Nothing to see here

This commit is contained in:
2023-08-22 23:14:13 +03:00
parent 0f9928b611
commit 2d212866ec
28 changed files with 735 additions and 76 deletions

26
puts.c
View File

@@ -1,26 +0,0 @@
#include "main.h"
#include <unistd.h>
/**
* _puts - splurges whatever is in buffer
*
* @str: pointers to "buffer" or string head
*
* Return: written bytes
*/
int _puts(char *str)
{
return (write(1, str, _strlen(str)));
}
/**
* _putchar - writes the character c to stdout
* @c: The character to print
*
* Return: On success 1.
* On error, -1 is returned, and errno is set appropriately.
*/
int _putchar(char c)
{
return (write(1, &c, 1));
}