]> Pileus Git - ~andy/fetchmail/blobdiff - lock.h
Fix typo repsonsible -> responsible.
[~andy/fetchmail] / lock.h
diff --git a/lock.h b/lock.h
index 66b2c36fc09a5ae6155d1eb9e8baa51db250b11e..07d3ec34be536dd81b2e06274f6cc8bc2e1d982d 100644 (file)
--- a/lock.h
+++ b/lock.h
@@ -22,15 +22,15 @@ void fm_lock_release(void);
 
 /** Check the state of the lock file. If there is an error opening or
  * reading the lockfile, exit with PS_EXCLUDE. If a stale lock file
- * cannot be unlinked, complain, but continue.  \return
+ * cannot be unlinked, complain and try to truncate it to 0 size. If
+ * truncation fails, complain and exit with PS_EXCLUDE.  \return
  * -  0 if no lock is set
  * - >0 if a fetchmail is running, but not in daemon mode
  * - <0 if a fetchmail is running in daemon mode.
  */
 int  fm_lock_state(void);
 
-/** If atexit(3) is available on the system this software is compiled on,
- * register an exit handler to dipose of the lock on process exit. */
+/** Register an atexit() exit handler to dipose of the lock on process exit. */
 void fm_lock_dispose(void);
 
 #endif