ABL electronic PIC12 Personal Computer User Manual


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