20 Oct
2009
20 Oct
'09
1:11 a.m.
On Mon, 2009-10-19 at 17:55 -0400, Timo Sirainen wrote:
Can someone find an OS where the attached program doesn't work? It should print "success". So far tested for success: Linux 2.6, Solaris 10, FreeBSD 7.2, OpenBSD 4.2.
And also: I think (guess) that behavior is required by POSIX, but it would be nice if someone could verify that. :) The behavior being: seeking in a fd is affects all processes that have the same fd open. (Simple IPC, yay.)