MySQL 8.0.29
Source Code Documentation
str2int.cc File Reference
#include <errno.h>
#include <limits.h>
#include "m_ctype.h"
#include "m_string.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:9076

Function Documentation

◆ str2int()

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