cc [ flag... ] file... -lscf [ library... ] #include <libscf.h> int scf_service_delcust(scf_service_t *svc);
int scf_instance_delcust(scf_instance_t *inst);
int scf_pg_delcust(scf_propertygroup_t *pg);
int scf_transaction_property_delcust(scf_transaction_t *t, scf_transaction_entry_t *e, const char *prop);
The *_delcust() family of commands allows libscf(3LIB) consumers to remove all administrative customizations for an entity with one function. This includes removing any “masked” notations previously created by using the scf_*_delete() functions.
The customizations at the administrative layer can be explored with the get_decoration suite of functions. See scf_service_get_decoration(3SCF).
The customizations removed are all customizations for the entity and its children, if any exist.
Upon successful completion, these functions return 0. Otherwise they return —1.
These functions will fail if:
The entity or one of its parents has been deleted by somebody else.
The entity is not set.
The repository handle is not bound.
The connection to the repository was lost.
The server does not have adequate resources for a new scope handle.
The user does not have sufficient privileges delete customizations.
The repository backend is read-only.
The repository backend refused the modification.
The scf_error(3SCF) function can be used to retrieve the error value.
See attributes(5) for descriptions of the following attributes: