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
programming:c:function strpos
electronics - TTL to EIA-485
Topical Bible - Leaven
Topical Bible - Faith
programming - C - struct utimbuf
Topical Bible - Condition of the Earth today
Topical Bible - Homosexuality - Genesis 19 - Sodom and Gomorrah
Topical Bible - My Righteousness
programming - C - function ftell
Topical Bible - More Tolerable
File Formats - OFX, QXF
embedded systems - modbus - crc calculation
file formats - PDF - Header
file formats - PDF - array objects
programming - C - localtime
programming - javascript - objects - window
file formats - PDF - overview of structure
filename:programming - C - function strncpy
filename:programming%20%2D%20C%20%2D%20function%20strncpy
last edit:April 05 2009 22:07:32 (5521 days ago)
ct = 1716061111.000000 = May 18 2024 15:38:31
ft = 1238983652.000000 = April 05 2009 22:07:32
dt = 477077459.000000