3 ms·
I think there is an important typo: > what happens if other processes had open file descriptors pointing to new Should end with “old”, not “new”.
by zbentley 1mo ago
I think there is an important typo:
> what happens if other processes had open file descriptors pointing to new
Should end with “old”, not “new”.
- zetalyrae 1mo agoAh, no, because how you'd use rename in this context is something like: rename("/tmp/foobar", "/path/to/real/foobar"); So, `new` is really `destination`.