manual -> phent_settype
There is all you need.