单项选择题

下列函数中,对文件进行写操作的是( )。

A.get
B.read
C.seekg
D.put