B
由 f′(x)=sinx,得 f(x)=−cosx+C。代入 f(0)=−1,有 −1+C=−1,所以 C=0,即 f(x)=−cosx。
因此 f(x) 的一个原函数为 F(x)=∫(−cosx)dx=−sinx+C1。取 C1=1,得 F(x)=1−sinx,对应选项 B。