c function base.