Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
doc
/
ruby
/
capi
/
html
/
d2
/
d37
/
//opt/alt/ruby21/share/doc/ruby/capi/html/d2/d37/strlcpy_8c.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Ruby: missing/strlcpy.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="../../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">Ruby  <span id="projectnumber">2.1.10p492(2016-04-01revision54464)</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <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 id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="../../dir_f3bfeebb553c3f6ecfb19202628b4493.html">missing</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">strlcpy.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include "<a class="el" href="../../d3/d90/missing_8h_source.html">ruby/missing.h</a>"</code><br /> <code>#include <sys/types.h></code><br /> <code>#include <string.h></code><br /> </div> <p><a href="../../d2/d37/strlcpy_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:aeb79f86261de904967d433c1b5e9a1de"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d37/strlcpy_8c.html#aeb79f86261de904967d433c1b5e9a1de">strlcpy</a> (char *dst, <a class="el" href="../../da/d50/vsnprintf_8c.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *src, size_t siz)</td></tr> <tr class="separator:aeb79f86261de904967d433c1b5e9a1de"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="aeb79f86261de904967d433c1b5e9a1de"></a> <h2 class="memtitle"><span class="permalink"><a href="#aeb79f86261de904967d433c1b5e9a1de">◆ </a></span>strlcpy()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t strlcpy </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"><em>dst</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../da/d50/vsnprintf_8c.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char * </td> <td class="paramname"><em>src</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"><em>siz</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="../../d2/d37/strlcpy_8c_source.html#l00044">44</a> of file <a class="el" href="../../d2/d37/strlcpy_8c_source.html">strlcpy.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d5/df2/win32_8c_source.html#l01489">cmdglob()</a>, <a class="el" href="../../d1/d6f/date__strftime_8c_source.html#l00051">date_strftime_with_tmx()</a>, <a class="el" href="../../d7/d1e/dln__find_8c_source.html#l00101">dln_find_1()</a>, <a class="el" href="../../d1/ddc/dln_8c_source.html#l01250">dln_load()</a>, <a class="el" href="../../dd/d8f/pty_8c_source.html#l00223">get_device_once()</a>, <a class="el" href="../../d9/dd4/load_8c_source.html#l00378">rb_feature_p()</a>, <a class="el" href="../../d8/d4e/strftime_8c_source.html#l00165">rb_strftime_with_timespec()</a>, <a class="el" href="../../d5/df2/win32_8c_source.html#l01580">rb_w32_cmdvector()</a>, <a class="el" href="../../d5/df2/win32_8c_source.html#l02430">rb_w32_strerror()</a>, <a class="el" href="../../de/d32/dir_8c_source.html#l01628">ruby_brace_expand()</a>, <a class="el" href="../../df/d77/ruby_8c_source.html#l00386">ruby_init_loadpath_safe()</a>, <a class="el" href="../../d7/d5b/setproctitle_8c_source.html#l00135">setproctitle()</a>, and <a class="el" href="../../d5/df2/win32_8c_source.html#l01354">w32_aspawn_flags()</a>.</p> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>