|
|||||||||||
|
Re: strncpy() and NULL termination
From: Robin Melville <robmel(at)nadt.org.uk>
Date: Mon Feb 17 1997 - 06:31:46 EST
>(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 |
||||||||||
|
|||||||||||