Golang 错误 "bad file descriptor"

os.OpenFile(filename, os.O_APPEND|os.O_WRONLY, 0666)

 

参考文献:

https://stackoverflow.com/questions/33851692/golang-bad-file-descriptor

posted @ 2018-04-25 15:30  jhc888007  阅读(484)  评论(0编辑  收藏  举报