Various C programs require that an executing process find the stack size in D2, as well as the already handled 4(SP).  This is provided in at least 1.2 -> 3.1 (confirmed by myself).  Program in this case was 'main' from Pools of Radiance.