PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/www.cppreference.com/wiki/tr/c/string/strcpy

https://github.com/tsgates/cclookup
#! | 58 lines | 52 code | 6 blank | 0 comment | 0 complexity | acc0bca7f3c08aef302e4cdacfa2f2a9 MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="tr"
  4. lang="tr" dir="ltr">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <title>tr:c:string:strcpy</title>
  8. <meta name="generator" content="DokuWiki" />
  9. <meta name="robots" content="index,follow" />
  10. <meta name="date" content="2010-10-28T18:17:27-0700" />
  11. <meta name="keywords" content="tr,c,string,strcpy" />
  12. <link rel="search" type="application/opensearchdescription+xml" href="http://www.cppreference.com/wiki/lib/exe/opensearch.php" title="C++ Reference" />
  13. <link rel="start" href="../../../../index.html" />
  14. <link rel="contents" href="http://www.cppreference.com/wiki/tr/c/string/strcpy?do=index" title="İndeks" />
  15. <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="http://www.cppreference.com/wiki/feed.php" />
  16. <link rel="alternate" type="application/rss+xml" title="Current Namespace" href="http://www.cppreference.com/wiki/feed.php?mode=list&amp;ns=tr:c:string" />
  17. <link rel="alternate" type="text/html" title="Plain HTML" href="http://www.cppreference.com/wiki/_export/xhtml/tr/c/string/strcpy" />
  18. <link rel="alternate" type="text/plain" title="Wiki Markup" href="http://www.cppreference.com/wiki/_export/raw/tr/c/string/strcpy" />
  19. <link rel="canonical" href="strcpy" />
  20. <link rel="stylesheet" media="screen" type="text/css" href="../../../lib/exe/css.php@t=custom1&amp;tseed=1289693594" />
  21. <link rel="stylesheet" media="all" type="text/css" href="../../../lib/exe/css.php@s=all&amp;t=custom1&amp;tseed=1289693594" />
  22. <link rel="stylesheet" media="print" type="text/css" href="../../../lib/exe/css.php@s=print&amp;t=custom1&amp;tseed=1289693594" />
  23. <script type="text/javascript" ><!--//--><![CDATA[//><!--
  24. var NS='tr:c:string';var JSINFO = {"id":"tr:c:string:strcpy","namespace":"tr:c:string"};
  25. //--><!]]></script>
  26. <script type="text/javascript" charset="utf-8" src="../../../lib/exe/js.php@tseed=1289693594" ></script>
  27. </head>
  28. <body>
  29. <div class="dokuwiki export">
  30. <h2 class="sectionedit1"><a name="strcpy" id="strcpy">strcpy</a></h2>
  31. <div class="level2">
  32. <p>
  33. Söz dizimi:
  34. </p>
  35. <pre class="cpp code cpp"> <span class="co2">#include &lt;cstring&gt;</span>
  36. <span class="kw4">char</span> <span class="sy2">*</span><span class="kw3">strcpy</span><span class="br0">&#40;</span><span class="kw4">char</span> <span class="sy2">*</span>hedef, <span class="kw4">const</span> <span class="kw4">char</span> <span class="sy2">*</span>kaynak<span class="br0">&#41;</span><span class="sy4">;</span></pre>
  37. <p>
  38. strcpy() fonksiyonu ikinci parametresiyle aldigi değeri null sonlandırıcı işaret de dahil olmak üzere birinci parametresine kopyalar. Fonksiyonun dönüş değeri birinci parametresidir (hedef).
  39. </p>
  40. <p>
  41. Sınır kontrolü yapmadığından güvenli değildir. Benzer işi yapan daha güvenli sürümü için bknz <code>strncpy()</code>.
  42. </p>
  43. <p>
  44. Benzer Başlıklar <a href="http://www.cppreference.com/wiki/tr/c/string/memcpy" class="wikilink2" title="tr:c:string:memcpy" rel="nofollow">memcpy</a>, <a href="strcat" class="wikilink1" title="tr:c:string:strcat">strcat</a>, <a href="strchr" class="wikilink1" title="tr:c:string:strchr">strchr</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/strcmp" class="wikilink2" title="tr:c:string:strcmp" rel="nofollow">strcmp</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/strncmp" class="wikilink2" title="tr:c:string:strncmp" rel="nofollow">strncmp</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/strncpy" class="wikilink2" title="tr:c:string:strncpy" rel="nofollow">strncpy</a>
  45. </p>
  46. <p>
  47. Diğer benzer fonksiyonlar<a href="http://www.cppreference.com/wiki/tr/c/string/strlcpy" class="wikilink2" title="tr:c:string:strlcpy" rel="nofollow">strlcpy</a> and <a href="http://www.cppreference.com/wiki/tr/c/string/strlcat" class="wikilink2" title="tr:c:string:strlcat" rel="nofollow">strlcat</a> (standart değiller).
  48. </p>
  49. </div>
  50. </div>
  51. </body>
  52. </html>