mikroElektronika PIC Microcontrollers PIC12 User Manual page 306

Mikroc user's manual
Table of Contents

Advertisement

mikroC - C Compiler for Microchip PIC microcontrollers
strncat
Prototype
char *strncat(char *s1, char *s2, int n);
Description
Function appends not more than
acter of
always appended to the result. Function returns
strncpy
Prototype
char *strncpy(char *s1, char *s2, int n);
Description
Function copies not more than
overlap. If
ters to make up the difference. Function returns the resulting string
strspn
Prototype
int strspn(char *s1, char *s2);
Description
Function returns the length of the maximum initial segment of
ly of characters from
is not compared.
page
298
n
overwrites the null character at the end of
s2
characters from string
n
is shorter than
characters, then s1 will be padded out with null charac-
s2
n
. The terminating null character character at the end of the string
s2
MikroElektronika: Development tools - Books - Compilers
characters from the string
. A terminating null character is
s1
.
s1
to
s2
mikroC
making it simple...
to
. The initial char-
s2
s1
. The strings may not
s1
.
s1
which consists entire-
s1

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?

This manual is also suitable for:

Pic microcontrollers pic16Pic microcontrollers pic18

Table of Contents