programming:c:function strncpyWhat links here?

Description

The strncpy() function copies up to n characters, including the terminating null character, from the string pointed to by s2 into the buffer pointed to by s1. Once strncpy() has copied n characters to s1, it does not append a terminating null character.

The function strncpy() does not allocate any storage. The caller must insure that the buffer pointed to by s1 is long enough to hold the characters copied to it.

Syntax

char *strncpy(char *s1, const char *s2, size_t n)


Parameters



Return Values

The strncpy() function returns the value of s1.
programming:c:function strncpy
X Windows Structures - XButtonEvent
programming:c:function islower
programming - C - struct stat
programming:c:function fopen
programming - windows - GetWindowLong
programming:c:function strcpy
programming:c:function fclose
programming:c:function substr
programming - C - function strnpos
programming:c:function fputc
X Windows Structures - XKeyEvent
programming - C - function strpbrk
programming - C - function strncat
programming:c:function stat
programming - C - function rewind
programming - C - function getchar
programming - C - function ferror
filename:programming:c:function strncpy
filename:programming%3Ac%3Afunction%20strncpy
last edit:April 06 2009 02:07:32 (6429 days ago)
ct = 1794509844.000000 = November 12 2026 18:57:24
ft = 1238983652.000000 = April 06 2009 02:07:32
dt = 555526192.000000