Availability:C-language interface function
int PL_cvt_i_char(term_t
p, char *c)
int PL_cvt_i_schar(term_t
p, signed char *c)
int PL_cvt_i_uchar(term_t
p, unsigned char *c)
int PL_cvt_i_short(term_t
p, short *s)
int PL_cvt_i_ushort(term_t
p, unsigned short *s)
int PL_cvt_i_int(term_t
p, int *c)
int PL_cvt_i_uint(term_t
p, unsigned int *c)
int PL_cvt_i_long(term_t
p, long *c)
int PL_cvt_i_ulong(term_t
p, unsigned long *c)
int PL_cvt_i_llong(term_t
p, long long *c)
int PL_cvt_i_ullong(term_t
p, unsigned long long *c)
int PL_cvt_i_int32(term_t
p, int32_t *c)
int PL_cvt_i_uint32(term_t
p, uint32_t *c)
int PL_cvt_i_int64(term_t
p, int64_t *c)
int PL_cvt_i_uint64(term_t
p, uint64_t *c)
int PL_cvt_i_size_t(term_t
p, size_t *c)Convert a Prolog integer into a C integer of the specified size.
Generate an exception and return FALSE
if the conversion is
impossible because the Prolog term is not an integer or the C type
cannot represent the value of the Prolog integer.