Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pwrite_item(3g)  —  Subroutines

Name

pwrite_item − Writes a user-defined data item record to a metafile. 

 
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function

Syntax

void pwrite_item (
  Pint               wsid,              /∗ (I) Workstation identifier ∗/
  Pint               item_type,         /∗ (I) Item type ∗/
  Pint               item_data_length,  /∗ (I) Length of the item data
                                               record ∗/
  const Pitem_data  ∗item_data          /∗ (I) Item data record ∗/
)

Data Structures

typedef union {
    int      impl_dep;    /∗ metafile records ∗/
    Pdata    unsupp;      /∗ unsupported metafile item data ∗/
} Pitem_data;
    typedef struct {
        size_t   size;    /∗ size of the data ∗/
        void    ∗data;    /∗ pointer to the data ∗/
    } Pdata;

Description

pwrite_item writes a user-defined data item record to a metafile. 
 

Digital PHIGS Version 4.1 does not support this function.

See Also

pget_item_type
pinterpret_item
pread_item

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026