Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



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 "Jan 10 2012" The Rockbox Crew
aaa