delorie.com/archives/browse.cgi | search |
> From: 048321887-0001 AT t-online DOT de (Udo Kuhnt) > Newsgroups: comp.os.msdos.djgpp > Date: 27 May 2004 01:04:46 -0700 > > I do not think that in Unix, file position is shared between processes. They do, for inherited file handles. An inherited handle doesn't have its own entry in the system file tables, it just points to the same entry as the original handle in the parent. So, for such handles, moving the file position in one process necessarily moves it in the other, as they share the same file position. If you think otherwise, please try a simple test program and see for yourself.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |