Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Rockbox mail archive

Subject: Re: cvs: apps settings.c,1.67,1.68
From: Greg Haerr (greg_at_censoft.com)
Date: 2002-10-04


> I dislike strncpy for that very reason.

I use my own carry-around strzcpy, which takes
the same parms as strncpy. It guarantees a NUL
termination, with the string limited to the size of the
passed buffer length.

Regards,

Greg



Page was last modified "Mar 9 2008" The Rockbox Crew