PCBUF | Back to Index page

| Prolog Control Block Contents PCBUF DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

PCBUF Prolog | Top of page

     NAME       : HCPPCBUF
     DESCRIPTION: putchar() Buffer
     DSECT      : PCBUF
     FUNCTION   : The PCBUF contains data to be displayed on the
                  virtual machine console as a result of using
                  the C run-time library putchar() function.
     LOCATED BY : VMDPCBUF field of HCPVMDBK
     CREATED BY : HCPCRL
     DELETED BY : HCPUSP
     RELOCATION CONSIDERATIONS : None
     NOTES      :

PCBUF Control Block Content | Top of page

     PCBUF DSECT
    Top of page

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      PCBUF          putchar() Buffer
    0000    0 Signed       4 PCBUFPOS       Buffer position
    0004    4 Signed       4 *              Reserved for IBM use
    0008    8 Character   80 PCBUFFER       Buffer data
              00000058       PCBLNGTH       *-PCBUF Buffer length
              0000000B       PCBSIZE        (PCBLNGTH+7)/8 Buffer size in
                                            doublewords

PCBUF Storage Layout | Top of page

    *** PCBUF - putchar() Buffer
    *
    *     +---------------------------+---------------------------+
    *   0 |         PCBUFPOS          |///////////////////////////|
    *     +---------------------------+---------------------------+
    *   8 |                                                       |
    *     =                       PCBUFFER                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  58
    *
    *** PCBUF - putchar() Buffer

PCBUF Cross Reference | Top of page

    Symbol         Dspl Value
    -------------- ---- -----
    PCBLNGTH       0008 00000058
    PCBSIZE        0008 0000000B
    PCBUFFER       0008
    PCBUFPOS       0000

This information is based on z/VM 7.2.0 Last updated on 24 Jun 2020 at 09:29:31 EDT.
Copyright IBM Corporation, 1990, 2020