ft_short - kibotrel/42-Libft GitHub Wiki

int ft_short(unsigned char *nb)

Description :

Concatenates the firsts two bytes of the given string nb into a short.

Return Value :

Returns the built short.

Source code