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

Re: cvs: apps settings.c,1.67,1.68

From: Greg Haerr <greg_at_censoft.com>
Date: Fri, 4 Oct 2002 13:56:46 -0700

> 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
Received on 2002-10-04

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy