From 674367694c3291ccf46ca0f20a5b4f5f1cf12962 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 23 Nov 2017 21:42:11 +0100 Subject: [PATCH] llseek.2, lseek.2: wfix Signed-off-by: Michael Kerrisk --- man2/llseek.2 | 2 +- man2/lseek.2 | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/man2/llseek.2 b/man2/llseek.2 index 652a49ac7..8947d4ca1 100644 --- a/man2/llseek.2 +++ b/man2/llseek.2 @@ -43,7 +43,7 @@ There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION The .BR _llseek () -function repositions the offset of the open file description associated +system call repositions the offset of the open file description associated with the file descriptor .I fd to diff --git a/man2/lseek.2 b/man2/lseek.2 index 8721250cf..dfb819427 100644 --- a/man2/lseek.2 +++ b/man2/lseek.2 @@ -54,9 +54,8 @@ lseek \- reposition read/write file offset .PP .BI "off_t lseek(int " fd ", off_t " offset ", int " whence ); .SH DESCRIPTION -The .BR lseek () -function repositions the file offset of the open file description +repositions the file offset of the open file description associated with the file descriptor .I fd to the argument @@ -80,9 +79,8 @@ The file offset is set to the size of the file plus .I offset bytes. .PP -The .BR lseek () -function allows the file offset to be set beyond the end +allows the file offset to be set beyond the end of the file (but this does not change the size of the file). If data is later written at this point, subsequent reads of the data in the gap (a "hole") return null bytes (\(aq\\0\(aq) until