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>nw::ut::wcsncpy 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); 19 20size_t wcsncpy( 21 wchar_t * dest, 22 std::size_t destCount, 23 const wchar_t * src, 24 std::size_t srcCount 25); 26</pre> 27 </div> 28 <h2>List of Overloaded Member Functions</h2> 29 <div class="section"> 30 <table class="members"> 31 <tr> 32 <td> 33 <a href="./wcsncpy(0).html">wcsncpy ( wchar_t *, std::size_t, const wchar_t * ) </a> 34 </td> 35 <td>Copies a string.</td> 36 </tr> 37 <tr> 38 <td> 39 <a href="./wcsncpy(1).html">wcsncpy ( wchar_t *, std::size_t, const wchar_t *, std::size_t ) </a> 40 </td> 41 <td>Copies a string.</td> 42 </tr> </table> 43 </div> 44 <h2>Description of wcsncpy ( wchar_t *, std::size_t, const wchar_t * )</h2> 45 <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> 46 <h2>Description of wcsncpy ( wchar_t *, std::size_t, const wchar_t *, std::size_t )</h2> 47 <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> 48 <hr><p>CONFIDENTIAL</p></body> 49</html>