what is the function of protein C in hemostasis?

How does it work?