fis-gtm/sr_port/zshow_zwrite.c

41 lines
1.1 KiB
C

/****************************************************************
* *
* Copyright 2001, 2007 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#include "mdef.h"
#include "gdsroot.h"
#include "gtm_facility.h"
#include "fileinfo.h"
#include "gdsbt.h"
#include "gdsfhead.h"
#include "zwrite.h"
#include "mlkdef.h"
#include "zshow.h"
#include "stringpool.h"
#include "op.h"
#include "mvalconv.h"
GBLREF uint4 pat_everything[];
GBLREF mstr_len_t sizeof_pat_everything;
void zshow_zwrite(zshow_out *output)
{
mval mv,pat;
zshow_output(output,0);
pat.mvtype = MV_STR;
pat.str.addr = (char *)&pat_everything[0];
pat.str.len = INTCAST(sizeof_pat_everything - 1);
MV_FORCE_MVAL(&mv,ZWRITE_ASTERISK) ;
n2s(&mv);
op_lvpatwrite(VARLSTCNT(3) (UINTPTR_T)output, &pat, &mv);
return;
}