summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man2/llseek.2
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/debian-unstable/man2/llseek.2')
-rw-r--r--upstream/debian-unstable/man2/llseek.214
1 files changed, 7 insertions, 7 deletions
diff --git a/upstream/debian-unstable/man2/llseek.2 b/upstream/debian-unstable/man2/llseek.2
index 64de5043..f1a26397 100644
--- a/upstream/debian-unstable/man2/llseek.2
+++ b/upstream/debian-unstable/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 6.8"
.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