<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS: lib/strncpy.c File Reference</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../resize.js"></script> <script type="text/javascript" src="../../navtreedata.js"></script> <script type="text/javascript" src="../../navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('d4/d5d/strncpy_8c.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">strncpy.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="../../da/d66/string_8h_source.html">string.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for strncpy.c:</div> <div class="dyncontent"> <div class="center"><img src="../../d8/d23/strncpy_8c__incl.png" border="0" usemap="#lib_2strncpy_8c" alt=""/></div> <map name="lib_2strncpy_8c" id="lib_2strncpy_8c"> <area shape="rect" title=" " alt="" coords="5,5,99,32"/> <area shape="rect" href="../../da/d66/string_8h.html" title=" " alt="" coords="19,80,85,107"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="7,229,97,256"/> <area shape="rect" href="../../d6/d90/strings_8h.html" title=" " alt="" coords="53,155,125,181"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="198,453,295,480"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="136,304,229,331"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="74,379,163,405"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="187,379,306,405"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="330,379,435,405"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="459,379,559,405"/> </map> </div> </div> <p><a href="../../d4/d5d/strncpy_8c_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a8b18bbd90f1c976769a73e97eeb95bdc"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d5d/strncpy_8c.html#a8b18bbd90f1c976769a73e97eeb95bdc">strncpy</a> (char *<a class="el" href="../../d6/d92/cdefs_8h.html#a4127c12268159bf73f8e69b23c34c610">__restrict</a> dst, <a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *<a class="el" href="../../d6/d92/cdefs_8h.html#a4127c12268159bf73f8e69b23c34c610">__restrict</a> src, <a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a7619b847aeded8a6d14cbfa212b2cdfb">size_t</a> n)</td></tr> <tr class="separator:a8b18bbd90f1c976769a73e97eeb95bdc"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a8b18bbd90f1c976769a73e97eeb95bdc"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8b18bbd90f1c976769a73e97eeb95bdc">◆ </a></span>strncpy()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* strncpy </td> <td>(</td> <td class="paramtype">char *<a class="el" href="../../d6/d92/cdefs_8h.html#a4127c12268159bf73f8e69b23c34c610">__restrict</a> </td> <td class="paramname"><em>dst</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *<a class="el" href="../../d6/d92/cdefs_8h.html#a4127c12268159bf73f8e69b23c34c610">__restrict</a> </td> <td class="paramname"><em>src</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a7619b847aeded8a6d14cbfa212b2cdfb">size_t</a> </td> <td class="paramname"><em>n</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d4/d5d/strncpy_8c_source.html#l00003">3</a> of file <a class="el" href="../../d4/d5d/strncpy_8c_source.html">strncpy.c</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="../../dir_97aefd0d527b934f1d99a682da8fe6a9.html">lib</a></li><li class="navelem"><a class="el" href="../../d4/d5d/strncpy_8c.html">strncpy.c</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>