<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Bernd Petrovitsch a écrit :
<blockquote cite="mid:1221229738.23665.59.camel@spike.firmix.at"
type="cite">
<pre wrap="">On Tue, 2008-09-09 at 18:37 +0200, Olivier Brousse wrote:
[...]
</pre>
<blockquote type="cite">
<pre wrap="">Can you provide me more informations on this writing files procedure?
What is the code in nameservice.c that is referenced here?
</pre>
</blockquote>
<pre wrap=""><!---->
Personally I don't know.
>From the code there: Just write to a new (temporary) file (on the same
filesystem), close it and rename it (to guarantee atomicity) to the
"fifoname".
The "fifo reader" checks periodically if the file changed (the inode
number changes because create a new file every time) and if yes, opens
and handles it.
Bernd
</pre>
</blockquote>
Thank you for your answer but I'm afraid my poor C skills are not
enough to understand what you tried to explain me. This may also comes
from the fact I don't know how work AFAIK FIFO.<br>
<br>
Thank again,<br>
Olivier.<br>
</body>
</html>