>  Can anyone justify the existence of memset(3) in libc?

Memset is in the C standard; bzero is not. End of story.

Bzero is justly deprecated on the man page I have (2008-08-06 via Red
Hat). I avoid bzero and compile with "gcc -std=c17 -Wall -pedantic
-extra" to raise a flag when I stray from the standard.

Finally, please note that groff is the wrong forum for discussing the
design of C.

Doug

Reply via email to