On 4/27/2016 8:25 PM, Phil Smith III wrote:
How does a 64-bit caller indicate the end of a variable parameter list?

We tend to use FFFFFFFF_FFFFFFFF as the end of list indicator. Yes, I realize it's _technically_ a valid 64-bit address, but it's extremely unlikely -- nee impossible -- that we would ever want to place a valid parameter at that particular byte location in virtual storage. And, who knows, maybe one day the z/OS guys will decide to make that last (1M or 2G) page guaranteed invalid like they do with the 4K page at 7FFFF000...

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to