Plan 9 from Bell Labs’s /usr/web/sources/contrib/akumar/igo/goban/chan.h

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


enum{
	Stacksz = 32*1024,
};

Channel *ifcchan;

/* file.c */
typedef struct Filectl Filectl;
struct Filectl
{
	int ro;	/* read-only */
	int self;	/* loner */
	char p, op;
	char r;	/* current read */
	int B, W;	/* file descriptors */
	int ev;
	Channel *c;
};

Filectl *filectl;
Filectl *initfile(char*,char*,int);

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