1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7 <title>wcsncpy</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../nw/Overview.html">nw</a>::<a href="../../nw/ut/Overview.html">ut</a>::wcsncpy</CODE> Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14size_t wcsncpy( 15 wchar_t * dest, 16 std::size_t destCount, 17 const wchar_t * src 18); 19size_t wcsncpy( 20 wchar_t * dest, 21 std::size_t destCount, 22 const wchar_t * src, 23 std::size_t srcCount 24); 25</pre> 26 </div> 27 <h2>List of Overloaded Member Functions</h2> 28 <div class="section"> 29 <table class="members"> 30 <tr> 31 <td> 32 <a href="./wcsncpy(0).html">wcsncpy ( wchar_t *, std::size_t, const wchar_t * ) </a> 33 </td> 34 <td>Copies a string.</td> 35 </tr> 36 <tr> 37 <td> 38 <a href="./wcsncpy(1).html">wcsncpy ( wchar_t *, std::size_t, const wchar_t *, std::size_t ) </a> 39 </td> 40 <td>Copies a string.</td> 41 </tr> </table> 42 </div> 43 <h2>Description of wcsncpy ( wchar_t *, std::size_t, const wchar_t * )</h2> 44 <div class="section"><p>Copys the character string given by <CODE>src</CODE> and always adds a null termination character. Although the character string is truncated if <CODE>destCount</CODE> is smaller than <CODE>src</CODE>, a null terminator is always added. </p></div> 45 <h2>Description of wcsncpy ( wchar_t *, std::size_t, const wchar_t *, std::size_t )</h2> 46 <div class="section"><p>Copies the character string given by <CODE>src</CODE> up to the character count given by <CODE>srcCount</CODE>, and always adds a null termination character. Although the character string is truncated if destCount is smaller than srcCount, a null terminator is always added. </p></div> 47 <hr><p>CONFIDENTIAL</p></body> 48</html> 49