Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/base/System/IO.hc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#include "newmacros.h"
#include "runtime.h"

#define CT_v287	((void*)startLabel+32)
#define CT_v288	((void*)startLabel+72)
#define CT_v289	((void*)startLabel+120)
#define CT_v290	((void*)startLabel+176)
extern Node C0__40_41[];
extern Node FN_Prelude_46return[];
extern Node F0_IO_46openFile[];
extern Node FN_NHC_46Internal_46_95apply2[];
extern Node FN_IO_46bracket[];
extern Node F0_IO_46hClose[];
extern Node FN_IO_46openFile[];

static Node startLabel[] = {
  bytes2word(3,0,2,1)
, bytes2word(1,2,0,3)
, useLabel(CT_v287)
,};
Node FN_System_46IO_46hSetBinaryMode[] = {
  bytes2word(ZAP_ARG_I2,ZAP_ARG_I3,NEEDHEAP_I32,PUSH_CVAL_P1)
, bytes2word(3,PUSH_HEAP,HEAP_CVAL_I4,HEAP_ARG)
, bytes2word(1,ZAP_ARG_I1,EVAL,NEEDHEAP_I32)
, bytes2word(APPLY,1,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
,	/* CT_v287: (byte 0) */
  HW(2,3)
, 0
,};
Node F0_System_46IO_46hSetBinaryMode[] = {
  CAPTAG(useLabel(FN_System_46IO_46hSetBinaryMode),3)
, useLabel(C0__40_41)
, VAPTAG(useLabel(FN_Prelude_46return))
, bytes2word(0,0,0,0)
, useLabel(CT_v288)
,};
Node FN_System_46IO_46openBinaryFile[] = {
  bytes2word(NEEDSTACK_I16,PUSH_CVAL_P1,3,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
,	/* CT_v288: (byte 0) */
  HW(1,0)
, 0
,};
Node CF_System_46IO_46openBinaryFile[] = {
  VAPTAG(useLabel(FN_System_46IO_46openBinaryFile))
, useLabel(F0_IO_46openFile)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v289)
,};
Node FN_System_46IO_46withBinaryFile[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_CVAL_I4,HEAP_OFF_N1)
, bytes2word(2,HEAP_ARG_ARG,1,2)
, bytes2word(PUSH_HEAP,HEAP_CVAL_I5,HEAP_OFF_N1,5)
, bytes2word(HEAP_CVAL_P1,6,RETURN,ENDCODE)
, bytes2word(0,0,0,0)
,	/* CT_v289: (byte 0) */
  HW(4,2)
, 0
,};
Node F0_System_46IO_46withBinaryFile[] = {
  CAPTAG(useLabel(FN_System_46IO_46withBinaryFile),2)
, VAPTAG(useLabel(FN_System_46IO_46openBinaryFile))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply2))
, CAPTAG(useLabel(FN_IO_46bracket),1)
, useLabel(F0_IO_46hClose)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v290)
,};
Node FN_System_46IO_46withFile[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG_ARG,1)
, bytes2word(2,PUSH_HEAP,HEAP_CVAL_I4,HEAP_OFF_N1)
, bytes2word(4,HEAP_CVAL_I5,RETURN,ENDCODE)
, bytes2word(0,0,0,0)
,	/* CT_v290: (byte 0) */
  HW(3,2)
, 0
,};
Node F0_System_46IO_46withFile[] = {
  CAPTAG(useLabel(FN_System_46IO_46withFile),2)
, VAPTAG(useLabel(FN_IO_46openFile))
, CAPTAG(useLabel(FN_IO_46bracket),1)
, useLabel(F0_IO_46hClose)
,};

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].