The labeling_set_encodings() routine is used to activate a specific label encodings file on a Trusted Extensions system. The following routine description includes the prototype declaration for the routine:
The labeling_set_encodings() routine returns 0 upon successful completion. Otherwise, it returns -1 and errno indicates the error.
See the labeling_set_encodings (3TSOL) man page.
You can use the is_system_labeled() routine to detect whether the system is labeled.