diff options
author | 2002-03-10 17:15:42 +0000 | |
---|---|---|
committer | 2002-03-10 17:15:42 +0000 | |
commit | b22c9aaaa34810acd366d38c9d07f95cb47aad19 (patch) | |
tree | d60a08d479c571d3a6dd340d0289fd9781549576 /lib | |
parent | Update. (diff) | |
download | wireguard-openbsd-b22c9aaaa34810acd366d38c9d07f95cb47aad19.tar.xz wireguard-openbsd-b22c9aaaa34810acd366d38c9d07f95cb47aad19.zip |
Clarify rename(2) behavior in the presence of a system crash.
From FreeBSD by way of Claus Assmann.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/rename.2 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2 index 6ea22b43b7a..2c8c64c4947 100644 --- a/lib/libc/sys/rename.2 +++ b/lib/libc/sys/rename.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rename.2,v 1.8 2000/10/18 05:12:11 aaron Exp $ +.\" $OpenBSD: rename.2,v 1.9 2002/03/10 17:15:42 millert Exp $ .\" $NetBSD: rename.2,v 1.7 1995/02/27 12:36:15 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -61,7 +61,9 @@ must be of the same type (that is, both directories or both non-directories), and must reside on the same file system. .Pp .Fn rename -guarantees that an instance of +guarantees that if +.Fa to +already exists, an instance of .Fa to will always exist, even if the system should crash in the middle of the operation. |