AceCommon  1.4.6
Arduino library for low-level common functions and features with no external dependencies
Functions
pstrings.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ace_common::strcmp_PP (const char *a, const char *b)
 Compare 2 strings which are both stored in PROGMEM. More...
 

Detailed Description

String functions on strings stored in flash memory through the PROGMEM attribute. These strings can be created through several ways:

Definition in file pstrings.h.

Function Documentation

◆ strcmp_PP()

int ace_common::strcmp_PP ( const char *  a,
const char *  b 
)

Compare 2 strings which are both stored in PROGMEM.

This is similar to the strcmp_P(a, p) except that both strings are in PROGMEM instead of just the second string. Either a or b can be a nullptr. Two nullptr are compared to be equal to each other. Any non-null string will be considered to be greater than a nullptr.

Definition at line 31 of file pstrings.cpp.