"Read this thread about the original patch that was
submitted to add these functions to libc. Essentially, it was
rejected on the basis that these functions hide problems instead of
solving them and would actually lead to hard to detect bugs that
creep in because of unsolicited truncation caused by these
functions. A sample implementation of strlcpy looks like
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.