1

Linux copyfile code

| |
2008/11/14    12:00    2815    huzhangyou2002 操作系统 » Linux 不指定
Linux下面如何复制文件的函数代码:

修改版本,感谢网友yisheng2002 指出其中Bug!


参考:
http://topic.csdn.net/u/20071109/17/ad236653-c55c-4c09-bb27-1b7f14c75af1.html

Tags: | 引用(0)
yisheng2002
2008/11/23 22:04
Maybe a potential bug, if dest file open fail, source file handle will not be closed, right?
huzhangyou2002 回复于 2008/11/23 22:20
晕,谢谢。正是有bug
分页: 1/1 第一页 1 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]