我写的函数:
content = new Buffer content
fs.open src, 'a', (err, fd)->
throw err if err
position = 0
fs.write fd, content, 0, content.length, position, (err)->
throw err if err
fs.closeSync fd```
但是无论position设值为多少,他都把内容插入到文件的最后,position好像不起作用,
我是想把内容插入到文件的头部,请问应该怎么做?