This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
MathLink C Function

MLGetShortInteger()

int MLGetShortInteger(MLINK link, short *i)
gets an integer from the MathLink connection specified by link and stores it as a C short in i.