.\" -*- coding: UTF-8 -*- .\" Copyright (C) 1995 Andries Brouwer (aeb@cwi.nl) .\" Written 10 June 1995 by Andries Brouwer .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" Modified Thu Oct 31 15:16:23 1996 by Eric S. Raymond .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH LLSEEK 2 "15 września 2017 r." Linux "Podręcznik programisty Linuksa" .SH NAZWA _llseek \- repozycjonowanie offsetu pliku dla odczytu/zapisu .SH SKŁADNIA .nf \fB#include \fP \fB#include \fP .PP \fBint _llseek(unsigned int \fP\fIfd\fP\fB, unsigned long \fP\fIoffset_high\fP\fB,\fP \fB unsigned long \fP\fIoffset_low\fP\fB, loff_t *\fP\fIresult\fP\fB,\fP \fB unsigned int \fP\fIwhence\fP\fB);\fP .fi .PP \fINote\fP: There is no glibc wrapper for this system call; see NOTES. .SH OPIS The \fB_llseek\fP() system call repositions the offset of the open file description associated with the file descriptor \fIfd\fP to \fI(offset_high<<32) | offset_low\fP bytes relative to the beginning of the file, the current file offset, or the end of the file, depending on whether \fIwhence\fP is \fBSEEK_SET\fP, \fBSEEK_CUR\fP, or \fBSEEK_END\fP, respectively. It returns the resulting file position in the argument \fIresult\fP. .PP This system call exists on various 32\-bit platforms to support seeking to large file offsets. .SH "WARTOŚĆ ZWRACANA" W razie pomyślnego zakończenia, \fB_llseek\fP() zwraca 0. W przeciwnym przypadku, zwracana jest wartość \-1 i ustawiane jest \fIerrno\fP dla wskazania rodzaju błędu. .SH BŁĘDY .TP \fBEBADF\fP \fIfd\fP nie jest deskryptorem otwartego pliku. .TP \fBEFAULT\fP Problem with copying results to user space. .TP \fBEINVAL\fP \fIwhence\fP jest nieprawidłowe. .SH "ZGODNE Z" Ta funkcja jest specyficzna dla Linuksa, i nie powinna być używana w przenośnych programach. .SH UWAGI Glibc does not provide a wrapper for this system call. To invoke it directly, use \fBsyscall\fP(2). However, you probably want to use the \fBlseek\fP(2) wrapper function instead. .SH "ZOBACZ TAKŻE" \fBlseek\fP(2), \fBopen\fP(2), \fBlseek64\fP(3) .SH "O STRONIE" Angielska wersja tej strony pochodzi z wydania 5.08 projektu Linux \fIman\-pages\fP. Opis projektu, informacje dotyczące zgłaszania błędów oraz najnowszą wersję oryginału można znaleźć pod adresem \%https://www.kernel.org/doc/man\-pages/. .SH TŁUMACZENIE Autorami polskiego tłumaczenia niniejszej strony podręcznika są: Andrzej Krzysztofowicz . Niniejsze tłumaczenie jest wolną dokumentacją. Bliższe informacje o warunkach licencji można uzyskać zapoznając się z GNU General Public License w wersji 3 lub nowszej. Nie przyjmuje się ŻADNEJ ODPOWIEDZIALNOŚCI. Błędy w tłumaczeniu strony podręcznika prosimy zgłaszać na adres .