xcall MIAMEX, MX_GETSW, waitms
(UNIX only) MX_GETSW retrieves the current swap wait time in milliseconds. See MIAMEX 102 for more details).
waitms (Num) will be returned with the current time in milliseconds, or zero to indicate that it is still set to the default (or undefined for the current terminal).