diff options
author | 1997-04-29 18:28:42 +0000 | |
---|---|---|
committer | 1997-04-29 18:28:42 +0000 | |
commit | b982b8c5a987d91c9c020a306ec84d931ffa13c2 (patch) | |
tree | ab8e6eb3f25376dadf61a03475c11e1ae45ddb05 | |
parent | Add the 2nd ss device found in sparc's MAKEDEV (diff) | |
download | wireguard-openbsd-b982b8c5a987d91c9c020a306ec84d931ffa13c2.tar.xz wireguard-openbsd-b982b8c5a987d91c9c020a306ec84d931ffa13c2.zip |
mention that write updates timestamps
-rw-r--r-- | lib/libc/sys/write.2 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2 index 56a32fb542d..9f732a66bb1 100644 --- a/lib/libc/sys/write.2 +++ b/lib/libc/sys/write.2 @@ -91,7 +91,7 @@ starts at a position given by the pointer associated with .Fa d (see -.Xr lseek 2 ) . +.Xr lseek 2 . ) Upon return from .Fn write , the pointer is incremented by the number of bytes which were written. @@ -109,6 +109,12 @@ by a user who a writable set-user-id file owned by the super-user. .Pp +If +.Fn write +succeeds it will update the st_ctime and st_mtime fields of the file's +meta-data (see +.Xr stat 2 . ) +.Pp When using non-blocking I/O on objects such as sockets that are subject to flow control, .Fn write |