Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.

PCBUF

Prolog  

Control Block Contents  
   PCBUF DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


PCBUF Prolog

 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


PCBUF DSECT

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

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

 

PCBUF Cross Reference

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

This information is based on z/VM V6R2.0. Last updated on 21 Nov 2011 at 11:12:59 EDT.
Copyright IBM Corporation, 1990, 2011