Ansi C String Library - mikroElektronika PIC Microcontrollers PIC12 User Manual

Mikroc user's manual
Table of Contents

Advertisement

mikroC
making it simple...

ANSI C String Library

mikroC provides a set of standard ANSI C library functions useful for manipulat-
ing strings and arrays of
Note: Not all of the standard functions have been included. Functions have been
implemented according to the ANSI C standard, but certain functions have been
modified in order to facilitate PIC programming.
Library Routines
memcmp
memcpy
memmove
memset
strcat
strchr
strcmp
strcpy
strlen
strncat
strncpy
strspn
memcmp
Prototype
int *memcmp(void *s1, void *s2, int n);
Description
Function compares the first
zero if the objects are equal, or returns a difference between the first differing characters
(in a left-to-right evaluation). Accordingly, the result is greater than zero if the object
pointed to by
MikroElektronika: Development tools - Books - Compilers
mikroC - C Compiler for Microchip PIC microcontrollers
.
char
characters of objects pointed to by
n
is greater than the object pointed to by
s1
and
, and returns
s1
s2
, and vice versa.
s2
page
295

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