Texas Instruments TMS34010 Reference Manual page 87

C compiler
Hide thumbs Also See for TMS34010:
Table of Contents

Advertisement

Runtime-Support Functions - Summary
String Functions
Header File:
string.h
Function and Syntax
Description
void
*memchr(5, c, n)
Finds the first occurrence of c in the first n characters of an
void *5;
object
int
c;
5ize_t n;
int
memcmp( 51, 52, n)
Compares the first n characters of 51 to object 2
void
*51, *52;
5ize_t n;
void
*memcpY(51, 52, n)
Copies n characters from 51 to object 2
void
*51, *52;
5ize_t n;
void
*memmove(51, 52, n)
Moves n characters from 51 to object 2
void
*51, *52;
5ize-t n;
void
*memset(5, c, n)
Copies the value of c into the first n characters of an object
void
*5;
int
c;
5ize_t n;
char
*strcat(51, 52)
Appends 51 to the end of 52
char
*51, *52;
char
*strchr(5, c)
Finds the first occurrence of character c in 5
char *5;
int
c;
int
strcmp(51, 52)
Compares strings and returns one of the following values:
char
*51, *52;
<0
if 51 is less than 52
=0 if 51 is equal to 52
>0 if 51
is greater than 52
int
*strcoll(51, 52)
Compares strings and returns one of the following values,
char
*51, *52;
depending on the locale in the program:
<0
if 51 is less than 52
=0 if 51 is equal to 52
>0 if 51
is greater than 52
char
*strcpY(51, 52)
Copies string 52 into 51
char
*51, *52;
5ize-t
strcspn(51, 52)
Returns the length of the initial segment of 51 that is
char
*51, *51;
entirely made up of characters that are not In 52
char
*strerror(errnum)
Maps the error number in errnum to an error message
int
errnum;
string
5ize-t
strlen(5)
Returns the length of a string
char
*5;
char
*strncat(51, 52, n)
Appends up to n characters from 51 to s2
char
*51, *52;
5ize-t n;
int
*strncmp(51, 52, n)
Compares up to n characters in two strings
char
*51, *52;
5ize-t n;
char
*strncpY(51, 52, n)
Copies up to n characters of a string to a new location
char
*51, *s2;
5ize-t n;
char
*strpbrk(51, 52)
Locates the first occurrence in 51 of any character from
char
*51, *52;
s2
6-12

Advertisement

Table of Contents
loading

Table of Contents