libft
Functions
ft_putnstr.c File Reference
#include "libft.h"
#include <unistd.h>
+ Include dependency graph for ft_putnstr.c:

Go to the source code of this file.

Functions

void ft_putnstr (char *s, size_t n)
 Writes the first n characters of a to the standard output. More...
 

Function Documentation

◆ ft_putnstr()

void ft_putnstr ( char *  s,
size_t  n 
)

Writes the first n characters of a to the standard output.

Parameters
sThe string, the characters of which to output.
nThe number of characters to output.
Remarks
If s contains less than n characters, behaviour is undefined.

Definition at line 24 of file ft_putnstr.c.