Trusted Solaris Developer's Guide

Binary and Text Translation

These routines translate a clearance from binary to text and back again. Refer to the stobl(3TSOL) man page.


Note -

See Chapter 14, Trusted X Window System for Interfaces that translate binary labels to text and clip the final label according to the specified width and font list for display in Motif-based graphical user interfaces (GUIs).


int  bcleartos(const bclear_t *clearance,
		char **string,
		const int len,
		const int flags);

int  stobclear(const char *string,
		bclear_t *clearance,
		const int flags, int *error);

char*  sbcleartos(const bclear_t *clearance,
		const int len);