Provides functions for interacting with characters.
Description
Indicates whether the given 8-bit character c
(as an int) is alphanumeric in the current locale.
Declaration and definitions
#include "starboard/character.h" bool SbCharacterIsAlphanumeric(int /*c*/) { return false; }
Parameters
Description
Indicates whether the given 8-bit character c
(as an int) is a decimal digit in the current locale.
Declaration and definitions
#include "starboard/character.h" bool SbCharacterIsDigit(int /*c*/) { return false; }
Parameters
Description
Indicates whether the given 8-bit character c
(as an int) is a hexadecimal in the current locale.
Declaration and definitions
#include "starboard/character.h" bool SbCharacterIsHexDigit(int /*c*/) { return false; }
Parameters
Description
Indicates whether the given 8-bit character c
(as an int) is a space in the current locale.
Declaration and definitions
#include "starboard/character.h" bool SbCharacterIsSpace(int /*c*/) { return false; }
Parameters
Description
Indicates whether the given 8-bit character c
(as an int) is uppercase in the current locale.
Declaration and definitions
#include "starboard/character.h" bool SbCharacterIsUpper(int /*c*/) { return false; }
Parameters
Description
Converts the given 8-bit character (as an int) to lowercase in the current locale and returns an 8-bit character. If there is no lowercase version of the character, or the character is already lowercase, the function just returns the character as-is.
Declaration and definitions
#include "starboard/character.h" int SbCharacterToLower(int c) { return c; }
Parameters
Description
Converts the given 8-bit character (as an int) to uppercase in the current locale and returns an 8-bit character. If there is no uppercase version of the character, or the character is already uppercase, the function just returns the character as-is.
Declaration and definitions
#include "starboard/character.h" int SbCharacterToUpper(int c) { return c; }
Parameters