extraw

Section: WIN SYSTEM (1W)
Updated: 2000.12.20
Index Return to Main Contents
 

NAME

extraw - Separation of data packets from control packets  

SYNOPSIS

extraw inkey datkey datsize ctlkey ctlsize [ logfile ]

 

DESCRIPTION

Extraw loads "packet type-specified" win format data cyclically written in a shared memory segment identified by a key  inkey, and separates packets into data packets (type codes "A1" to "A4") and control packets (other than type codes "A1" to "A4") according to the packet types to remove their packet type codes and write them out separately to the two shared memory segments identified by another key  datkey and yet another key  ctlkey. If neither a shared memory segment with the key  datkey nor  ctlkey exists, shared memory segments of sizes  datsize  (KB) and  ctlsize  (KB) will be created respectively. If they already exist but have a size smaller than their respective specified sizes, an error will occur. The shared memory key is a 32-bit integer value.

When log file name  logfile is specified, operation log is set here. When it is not specified, log information is sent to the standard output. The log file is opened/closed in each write.

Data in the format prescribed for the input-side shared memory inkey are data of packets with type codes greater than "A1." These data are received/written in by such processes as recvs(1W) or recvt(1W) with -a option. For more details of the data format, refer to the applicable sections.

The format prescribed for the output-side shared memories datkey and ctlkey is the normal timestamped format without a type code. For more details of these data formats, refer to recvt(1W).

When extraw is initiated without argument, brief usage is displayed.

 

OPTIONS

None
 

SOURCE

`extraw.c'
 

SEE ALSO

winformat(1W), recvt(1W), recvs(1W)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SOURCE
SEE ALSO