Plan 9 from Bell Labs’s /usr/web/sources/contrib/nemo/octopus/module/spooler.m

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


# file spooler interface
#
Spooler: module {

	Sfile: adt {
		fd:	ref Sys->FD;	# avail to be used by spooler
		sval: string;		# avail to be used by spooler

		start:		fn(path: string, endc: chan of string): (ref Sfile, string);
		stop: 	fn(file: self ref Sfile);
		status:	fn(file: self ref Sfile): string;
	};

	init:		fn(args: list of string);
	status:	fn(): string;
	debug:	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].