summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man2/llseek.2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
commit2c3307fb903f427be3d021c5780b75cac9af2ce8 (patch)
tree65cf431f40b7481d81ae2dfce9576342686448f7 /upstream/opensuse-tumbleweed/man2/llseek.2
parentReleasing progress-linux version 4.22.0-1~progress7.99u1. (diff)
downloadmanpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.tar.xz
manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.zip
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/opensuse-tumbleweed/man2/llseek.2')
-rw-r--r--upstream/opensuse-tumbleweed/man2/llseek.214
1 files changed, 7 insertions, 7 deletions
diff --git a/upstream/opensuse-tumbleweed/man2/llseek.2 b/upstream/opensuse-tumbleweed/man2/llseek.2
index 64de5043..d885dd90 100644
--- a/upstream/opensuse-tumbleweed/man2/llseek.2
+++ b/upstream/opensuse-tumbleweed/man2/llseek.2
@@ -6,7 +6,7 @@
.\"
.\" Modified Thu Oct 31 15:16:23 1996 by Eric S. Raymond <esr@thyrsus.com>
.\"
-.TH _llseek 2 2023-03-30 "Linux man-pages 6.05.01"
+.TH _llseek 2 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
_llseek \- reposition read/write file offset
.SH LIBRARY
@@ -16,12 +16,12 @@ Standard C library
.nf
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
-.PP
+.P
.BI "int syscall(SYS__llseek, unsigned int " fd ", unsigned long " offset_high ,
.BI " unsigned long " offset_low ", loff_t *" result ,
.BI " unsigned int " whence );
.fi
-.PP
+.P
.IR Note :
glibc provides no wrapper for
.BR _llseek (),
@@ -32,7 +32,7 @@ Note: for information about the
.BR llseek (3)
library function, see
.BR lseek64 (3).
-.PP
+.P
The
.BR _llseek ()
system call repositions the offset of the open file description associated
@@ -41,7 +41,7 @@ with the file descriptor
to the value
.IP
(offset_high << 32) | offset_low
-.PP
+.P
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
@@ -52,13 +52,13 @@ is
or
.BR SEEK_END ,
respectively.
-.PP
+.P
The new file offset is returned in the argument
.IR result .
The type
.I loff_t
is a 64-bit signed type.
-.PP
+.P
This system call exists on various 32-bit platforms to support
seeking to large file offsets.
.SH RETURN VALUE