Hi all,
I was wondering if anybody knew the source code of the strncat() function. I have tried for the past five hours and I have had no luck. Maybe its the environment that I amusing... whatever it is can you please help me out?

basically what the strncat() function does is it takes two strings, str1 and str2 and concatenates str2 to the end of str1 but only till the number of chars we specify. For example

if the function call was strncat("wow", "awesome", 3) the output would be "wowawe"
Please let me know what I am doing wrong thank you.