You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="ttc" id="axed-portability_8h_html_a4eab1affb8a1c6e1db4c0e6585cbd120"><divclass="ttname"><ahref="xed-portability_8h.html#a4eab1affb8a1c6e1db4c0e6585cbd120">xed_strncpy</a></div><divclass="ttdeci">XED_DLL_EXPORT int xed_strncpy(char *dst, const char *src, int len)</div><divclass="ttdoc">returns the number of bytes remaining for the next use of xed_strncpy() or xed_strncat() .</div></div>
</div><!-- fragment --><p>Once, before using Intel® XED, you must call <aclass="el" href="group__INIT.html#gacc180d75159533eb63e61611004d4512">xed_tables_init()</a> to initialize the tables Intel® XED uses for encoding and decoding: </p><divclass="fragment"><divclass="line"><aclass="code" href="group__INIT.html#gacc180d75159533eb63e61611004d4512">xed_tables_init</a>();</div>
174
+
</div><!-- fragment --><p>Once, before using Intel® XED, you must call <aclass="el" href="group__INIT.html#ga0fba52fba611ceaf93ace0a236d9cb7c">xed_tables_init()</a> to initialize the tables Intel® XED uses for encoding and decoding: </p><divclass="fragment"><divclass="line"><aclass="code" href="group__INIT.html#ga0fba52fba611ceaf93ace0a236d9cb7c">xed_tables_init</a>();</div>
175
175
</div><!-- fragment --><p>Once initialized, Intel® XED is reentrant (multithread safe). All values used for encoding and decoding live on the caller's stack or in the passed-in parameters.</p>
176
176
<p>If your program is multithreaded, initialize Intel® XED once (and only once) using the above call before you attempt to decode or encode from any thread. Each thread does NOT need to initialize Intel® XED. The idea is to initialize Intel® XED before creating your threads. </p>
0 commit comments