User Tools

Site Tools


c:string.h:strncpy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:string.h:strncpy [2013/01/22 22:02]
127.0.0.1 external edit
c:string.h:strncpy [2024/02/16 01:06] (current)
Line 1: Line 1:
 +====== strncpy ======
 +
 <code c>    <code c>   
-    #include <string.h> +#include <string.h> 
-    char *strncpy(char *str1, const char *str2, size_t n); +char *strncpy(char *str1, const char *str2, size_t n);
-    +
 </code> </code>
-    Copy a given Number of Chars into another string.+Copy a given Number of Chars into another string. 
 <code c> <code c>
 #include <stdio.h> /* including standard library */ #include <stdio.h> /* including standard library */

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/string.h/strncpy.1358888560.txt · Last modified: 2024/02/16 01:03 (external edit)

Impressum Datenschutz