qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_psp
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Variable:  _psp
 
  Include:   <stdlib.h>
 
  Syntax:    unsigned _psp
 
     The _psp variable contains the segment address of the program
     segment prefix (PSP) for the process. The PSP contains execution
     information about the process, such as a copy of the command line
     that invoked the process and the return address on process
     termination or interrupt. The _psp variable can be used to form a
     long pointer to the PSP, where _psp is the segment value and 0 is
     the offset value.
 
     Note that in OS/2, there is no _psp variable in protected mode.