Plan 9 from Bell Labs’s /usr/web/sources/contrib/nemo/sys/include/b.h

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


#pragma	lib	"libb.a"
#pragma	src	"/sys/src/libb"

extern	void*	readf(char*f, void* buf, long l, long *ol);
extern	char*	readfstr(char*f);
extern	long	writef(char* f, void* buf, long len);
extern	long	writefstr(char* f, char* s);
extern	long	createf(char* f, void* buf, long len, ulong mode);
extern	int	announcevol(int afd, char* addr, char* name, char* cnstr);
extern	long	cmdoutput(char* cmd, char* out, long sz);
extern	long	tcmdoutput(char* cmd, char* out, long sz);

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