]> git.ipfire.org Git - thirdparty/git.git/blobdiff - tempfile.h
l10n: zh_CN: for git v2.16.0 l10n round 2
[thirdparty/git.git] / tempfile.h
index b8f4b5e145b8b6b1d80cac299dbaedc8253e861b..450908b2e0bc4a94bc23a862abf04a56366aedd7 100644 (file)
  * `create_tempfile()` returns an allocated tempfile on success or NULL
  * on failure. On errors, `errno` describes the reason for failure.
  *
- * `delete_tempfile()`, `rename_tempfile()`, and `close_tempfile_gently()`
- * return 0 on success. On failure they set `errno` appropriately and return
- * -1. `delete` and `rename` (but not `close`) do their best to delete the
- * temporary file before returning.
+ * `rename_tempfile()` and `close_tempfile_gently()` return 0 on success.
+ * On failure they set `errno` appropriately and return -1.
+ * `delete_tempfile()` and `rename` (but not `close`) do their best to
+ * delete the temporary file before returning.
  */
 
 struct tempfile {