Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: strncpy() and NULL termination

From: Robin Melville <robmel(at)nadt.org.uk>
Date: Mon Feb 17 1997 - 06:31:46 EST


At 19:27 16/02/97 -0500, you wrote:

>(strncpy(3) only returns NULL or a valid pointer, but there is

No good if buf wasn't zeroised... the '\0' might be further back.



Robin Melville, Addiction & Forensic Information Service Nottingham Alcohol & Drug Team (Extn. 49178) Vox: +44 (0)115 952 9478 Fax: +44 (0)115 952 9421 Email: robmel@nadt.org.uk
WWW: http://www.innotts.co.uk/nadt/
Received on Mon Feb 17 03:56:11 1997

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:41:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library