Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/IO/OpenSocket.p.c

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


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

#define CT_v180	((void*)startLabel+64)
#define ST_v178	((void*)startLabel+96)
#define PS_v179	((void*)startLabel+112)
#define PS_v177	((void*)startLabel+124)
extern Node FN_Prelude_46primOpenSocket[];
extern Node PM_IO[];
extern Node PC_Prelude_46primOpenSocket[];

static Node startLabel[] = {
  bytes2word(3,0,2,1)
, bytes2word(1,2,0,3)
, useLabel(CT_v180)
,};
Node FN_IO_46openSocket[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_P1,7)
, bytes2word(HEAP_CVAL_N1,7,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_ARG_ARG,1,2)
, bytes2word(HEAP_ARG,3,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, 0
, useLabel(PS_v179)
, 0
, 0
, 0
, 0
, 70001
, useLabel(ST_v178)
,	/* CT_v180: (byte 0) */
  HW(1,3)
, 0
,};
Node F0_IO_46openSocket[] = {
  CAPTAG(useLabel(FN_IO_46openSocket),3)
, useLabel(PS_v177)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_Prelude_46primOpenSocket))
,};
Node PP_IO_46openSocket[] = {
 };
Node PC_IO_46openSocket[] = {
 	/* ST_v178: (byte 0) */
  bytes2word(73,79,46,111)
, bytes2word(112,101,110,83)
, bytes2word(111,99,107,101)
, bytes2word(116,0,0,0)
,	/* PS_v179: (byte 0) */
  useLabel(PM_IO)
, useLabel(PP_IO_46openSocket)
, useLabel(PC_Prelude_46primOpenSocket)
,	/* PS_v177: (byte 0) */
  useLabel(PM_IO)
, useLabel(PP_IO_46openSocket)
, useLabel(PC_IO_46openSocket)
,};

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].