ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.59 by root, Wed Nov 28 17:32:24 2007 UTC vs.
Revision 1.60 by root, Wed Nov 28 18:29:30 2007 UTC

1223not exist" is a status change like any other. The condition "path does 1223not exist" is a status change like any other. The condition "path does
1224not exist" is signified by the C<st_nlink> field being zero (which is 1224not exist" is signified by the C<st_nlink> field being zero (which is
1225otherwise always forced to be at least one) and all the other fields of 1225otherwise always forced to be at least one) and all the other fields of
1226the stat buffer having unspecified contents. 1226the stat buffer having unspecified contents.
1227 1227
1228The path I<should> be absolute and I<must not> end in a slash. If it is
1229relative and your working directory changes, the behaviour is undefined.
1230
1228Since there is no standard to do this, the portable implementation simply 1231Since there is no standard to do this, the portable implementation simply
1229calls C<stat (2)> regularly on the path to see if it changed somehow. You 1232calls C<stat (2)> regularly on the path to see if it changed somehow. You
1230can specify a recommended polling interval for this case. If you specify 1233can specify a recommended polling interval for this case. If you specify
1231a polling interval of C<0> (highly recommended!) then a I<suitable, 1234a polling interval of C<0> (highly recommended!) then a I<suitable,
1232unspecified default> value will be used (which you can expect to be around 1235unspecified default> value will be used (which you can expect to be around

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines