From: Michael Kerrisk Date: Sun, 22 Nov 2020 06:34:56 +0000 (+0100) Subject: llseek.2: Some mild rewriting to ease reading of the info in this page X-Git-Tag: man-pages-5.10~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=940a0979de7a6877ed882aaa0bc1af0807b152ed;p=thirdparty%2Fman-pages.git llseek.2: Some mild rewriting to ease reading of the info in this page Signed-off-by: Michael Kerrisk --- diff --git a/man2/llseek.2 b/man2/llseek.2 index 8947d4ca13..7b60203ab3 100644 --- a/man2/llseek.2 +++ b/man2/llseek.2 @@ -1,5 +1,6 @@ .\" Copyright (C) 1995 Andries Brouwer (aeb@cwi.nl) .\" Written 10 June 1995 by Andries Brouwer +.\" and Copyright (C) 2007, 2015, 2020, Michael Kerrisk .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this @@ -46,9 +47,12 @@ The system call repositions the offset of the open file description associated with the file descriptor .I fd -to -.I (offset_high<<32) | offset_low -bytes relative to the beginning of the file, the current file offset, +to the value +.IP +(offset_high << 32) | offset_low +.PP +This new offset is a byte offset +relative to the beginning of the file, the current file offset, or the end of the file, depending on whether .I whence is @@ -57,7 +61,8 @@ is or .BR SEEK_END , respectively. -It returns the resulting file position in the argument +.PP +The new file offset is returned in the argument .IR result . .PP This system call exists on various 32-bit platforms to support