Document that the caller must do a pw_abort() if pw_mkdb() fails.

This commit is contained in:
ghudson 1996-06-02 19:26:18 +00:00
parent e257708bf2
commit 23beafab63
1 changed files with 5 additions and 0 deletions

View File

@ -79,6 +79,11 @@ You should finish writing to and close the file descriptor returned by
.Fn pw_lock
before calling
.Fn pw_mkdb .
If
.Fn pw_mkdb
fails and you do not wish to retry, you should make sure to call
.Fn pw_abort
to clean up the lock file.
.Pp
The
.Fn pw_abort