没有这个印象,这个说法有出处吗?手册里也没有提到过这个操作
查了下glibc的源码,close函数并没有什么别的操作:
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/clo
se.c
23 /* Close the file descriptor FD. */
24 int
25 __close (int fd)
26 {
27 return SYSCALL_CANCEL (close, fd);
28 }
29 libc_hidden_def (__close)
30 strong_alias (__close, __libc_close)
31 weak_alias (__close, close)
【 在 flingfish 的大作中提到: 】
: 参考我前面的帖子,close的时候libc的代码会改变file的position
--
修改:gameplayer FROM 222.128.5.*
FROM 222.128.5.*