EasyManua.ls Logo

Texas Instruments TMS34010 - Page 73

Texas Instruments TMS34010
128 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
strncgy
Syntax
Description
6-22
Cogy
n
Characters
to
String
#include <string.h>
char
"strncpy(to,from,n)
char "to, "from;
unsigned
int
n;
strncgy
This function copies the string at address from into the address to. Only
n . characters
are
copied.
If
the
input
string is less than n characters, in
length, the remainder
of
the destination field is padded
with
zeros.
If
the
input
string has n or more characters,
the,
string to will
not
be
termi-
nated
by an. end
of
string character. The
strncpy
function returns the
address
cif
the destination string.

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals