MySQL 8.4.2
Source Code Documentation
str2int.cc File Reference
#include "str2int.h"
#include <cerrno>
#include <climits>
#include "mysql/strings/m_ctype.h"

Macros

#define char_val(X)
 

Functions

const char * str2int (const char *src, int radix, long int lower, long int upper, long int *val)
 

Macro Definition Documentation

◆ char_val

#define char_val (   X)
Value:
(X >= '0' && X <= '9' \
? X - '0' \
: X >= 'A' && X <= 'Z' ? X - 'A' + 10 \
: X >= 'a' && X <= 'z' ? X - 'a' + 10 : '\177')
#define X(b)
Definition: xcom_base.cc:9161

Function Documentation

◆ str2int()

const char * str2int ( const char *  src,
int  radix,
long int  lower,
long int  upper,
long int *  val 
)