I'm wondering how to copy char from argv into a char arrray. Now before you call me an idiot and point me to the many string copying functions I'd like to show you some things.
I have trouble figuring out what signedness the char arrays in argv have.
I've read much on good programming style and all the information says to use either an unsigned char array or a signed char array but to please use some kind of a sign.
Personally, I am using memcpy which, at least with gcc, does not produce an error. I'm not so stupid though to think that just because it works on my system that it will work
on all systems (i.e. don't make ussumptions.) Further, while browsing through my libraries in my package manager I came across a library intended to provide a more secure version of, among other things, strcpy. It was called "s_strncpy secure strncpy."
It's web adress is
Again no signedness is specified. In fact all the string copying functions accept a pointer
to a char array, no sign.