Corewar documentation 1.0.0
Loading...
Searching...
No Matches
my_putstr_sized.c File Reference

The file containing the my_putstr_sized function. More...

#include "my.h"

Functions

int my_putstr_sized (char const *str, int size)
 Prints a string (str) in stdout with a defined size (size) and returns the length of the printed string.
 

Detailed Description

The file containing the my_putstr_sized function.

Author
Nicolas TORO

Function Documentation

◆ my_putstr_sized()

int my_putstr_sized ( char const * str,
int size )

Prints a string (str) in stdout with a defined size (size) and returns the length of the printed string.

Parameters
strThe string to print
sizeThe size of the string
Returns
int The length of the printed string
Author
Nicolas TORO