单项选择题

设函数f(x)具有二阶导数,g(x)=f(0)(1-x)+f(1)x,则在[0,1]上()。

A.当f′(x)≥0时,f(x)≥g(x)
B.当f′(x)≥0时,f(x)≤g(x)
C.当f″(x)≥0时,f(x)≥g(x)
D.当f″(x)≥0时,f(x)≤g(x)