From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: Re: memmove quick question .... Date: Tue, 10 Jan 2006 11:00:26 +0100 Message-ID: <20060110100026.GA1692@snarc.org> References: <20060109230147.GB3677@cc.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20060109230147.GB3677@cc.gatech.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Himanshu Raj Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Jan 09, 2006 at 06:01:47PM -0500, Himanshu Raj wrote: > Does memmove ensure that there will be a NULL put after the last > element in dest? no, it copy only N bytes from SRC to DEST. (if the Nth bytes of SRC is NULL then DEST will be NULL terminated as well) -- Vincent Hanquez