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
 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 V5R3.0. Last updated on 25 Jun 2007 at 17:05:30 EDT.
Copyright IBM Corporation, 1990, 2007