… | |
… | |
4 | <head> |
4 | <head> |
5 | <title>libev</title> |
5 | <title>libev</title> |
6 | <meta name="description" content="Pod documentation for libev" /> |
6 | <meta name="description" content="Pod documentation for libev" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
9 | <meta name="created" content="Wed Nov 28 18:32:11 2007" /> |
9 | <meta name="created" content="Wed Nov 28 19:29:25 2007" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
12 | <body> |
12 | <body> |
13 | <div class="pod"> |
13 | <div class="pod"> |
14 | <!-- INDEX START --> |
14 | <!-- INDEX START --> |
… | |
… | |
1248 | <p>The path does not need to exist: changing from "path exists" to "path does |
1248 | <p>The path does not need to exist: changing from "path exists" to "path does |
1249 | not exist" is a status change like any other. The condition "path does |
1249 | not exist" is a status change like any other. The condition "path does |
1250 | not exist" is signified by the <code>st_nlink</code> field being zero (which is |
1250 | not exist" is signified by the <code>st_nlink</code> field being zero (which is |
1251 | otherwise always forced to be at least one) and all the other fields of |
1251 | otherwise always forced to be at least one) and all the other fields of |
1252 | the stat buffer having unspecified contents.</p> |
1252 | the stat buffer having unspecified contents.</p> |
|
|
1253 | <p>The path <i>should</i> be absolute and <i>must not</i> end in a slash. If it is |
|
|
1254 | relative and your working directory changes, the behaviour is undefined.</p> |
1253 | <p>Since there is no standard to do this, the portable implementation simply |
1255 | <p>Since there is no standard to do this, the portable implementation simply |
1254 | calls <code>stat (2)</code> regularly on the path to see if it changed somehow. You |
1256 | calls <code>stat (2)</code> regularly on the path to see if it changed somehow. You |
1255 | can specify a recommended polling interval for this case. If you specify |
1257 | can specify a recommended polling interval for this case. If you specify |
1256 | a polling interval of <code>0</code> (highly recommended!) then a <i>suitable, |
1258 | a polling interval of <code>0</code> (highly recommended!) then a <i>suitable, |
1257 | unspecified default</i> value will be used (which you can expect to be around |
1259 | unspecified default</i> value will be used (which you can expect to be around |