Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/src/cmd/mothra/libpanel/rtext.h

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


/*
 * Rtext definitions
 */
#define	PL_NOPBIT	4
#define	PL_NARGBIT	12
#define	PL_ARGMASK	((1<<PL_NARGBIT)-1)
#define	PL_SPECIAL(op)	(((-1<<PL_NOPBIT)|op)<<PL_NARGBIT)
#define	PL_OP(t)	((t)&~PL_ARGMASK)
#define	PL_ARG(t)	((t)&PL_ARGMASK)
#define	PL_TAB		PL_SPECIAL(0)		/* # of tab stops before text */
void pltabsize(int, int);			/* set min tab and tab size */

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