The biginttoint4() function

The biginttoint4() function converts a BIGINT type number to an int4 type number.

Syntax

mint biginttoint4(bigintv, int4p)
	const bigint bigintv
	int4 *int4p
bigintv
A bigint value to convert to an int4 integer value.
int4p
A pointer to an int4 variable to contain the result of the conversion.

Return values

0
The conversion was successful.
<0
The conversion failed.