Unsafe Functions In C And Their Safer Replacements: Strings Part II

Posted by shantzg001 on Mar 3, 2009 6:09 AM EDT
safercode.com; By Shantanu Goel
Mail this story
Print this story

Last time, we advised you to use ditch the unsafe functions like strcpy and strcat, and use their safer replacements (strlcpy, strlcat) instead. However, there is a small problem with this that you might discover that your compiler (especially gcc) does not have these functions in their implementation of the c library (libc).

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.