Atmel CAVR-4 Manual De Usuario
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
CAVR-4
252
AVR–specific library functions
AVR® IAR C/C++ Compiler
Reference Guide
strcpy_P
char * strcpy_P(char *s1, PGM_P s2);
Identical to
strcpy
except that the string
s2
being copied is in flash memory, not in data
memory. This function is available in both the CLIB and the DLIB library.
strerror_P
PGM_P strerror_P(int errnum);
Identical to
strerror
except that the string returned is in flash memory, not in data
memory. This function is available in both the CLIB and the DLIB library.
strlen_G
size_t strlen_G(const char _ _generic *s);
Identical to
strlen
except that the string being tested can be in flash or data memory.
This function is only available in the DLIB library.
strlen_P
size_t strlen_P(PGM_P s);
Identical to
strlen
except that the string being tested is in flash memory, not in data
memory. This function is available in both the CLIB and the DLIB library.
strncat_G
char *strncat_G(char *s1, const char _ _generic *s2, size_t n);
Identical to
strncmp
except that the string
s2
can be in flash or data memory. This
function is only available in the DLIB library.
strncmp_G
int
strncmp_G(const
char *s1,
const
char
_ _generic
*s2,
size_t
n);
Identical to
strncmp
except that the string
s2
can be in flash or data memory. This
function is only available in the DLIB library.
strncmp_P
int strncmp_P(const char *s1, PGM_P s2, size_t n);
Identical to
strncmp
except that the string
s2
is in flash memory, not in data memory.
This function is available in both the CLIB and the DLIB library.
strncpy_G
char *strncpy_G(char *s1, const char _ _generic *s2, size_t n);
Identical to
strncpy
except that the source string
s2
can be in flash or data memory.
This function is only available in the DLIB library.