提交 667f38b1 编写于 作者: B bellard

[f]truncate64 support


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1515 c046a42c-6fe2-441c-8c8c-71466251a162
上级 83469015
......@@ -2756,11 +2756,13 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
#endif
#ifdef TARGET_NR_truncate64
case TARGET_NR_truncate64:
goto unimplemented;
ret = get_errno(truncate64((const char *)arg1, arg2));
break;
#endif
#ifdef TARGET_NR_ftruncate64
case TARGET_NR_ftruncate64:
goto unimplemented;
ret = get_errno(ftruncate64(arg1, arg2));
break;
#endif
#ifdef TARGET_NR_stat64
case TARGET_NR_stat64:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册