42
42
* write to the file at a time. Callers check out a file, use it,
43
43
* and then check it back in via tr_fdFileReturn() when done.
46
46
* - if doWrite is true, subfolders in torrentFile are created if necessary.
47
47
* - if doWrite is true, the target file is created if necessary.
49
49
* on success, a file descriptor >= 0 is returned.
61
62
* Returns an fd from tr_fdFileCheckout() so that other clients may borrow it.