Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/lseek.2
| Show All 25 Lines | |||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd July 13, 2020 | .Dd July 13, 2020 | ||||
| .Dt LSEEK 2 | .Dt LSEEK 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm lseek | .Nm lseek | ||||
| .Nd reposition read/write file offset | .Nd reposition read/write file offset | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In unistd.h | .In unistd.h | ||||
| .Ft off_t | .Ft off_t | ||||
| .Fn lseek "int fildes" "off_t offset" "int whence" | .Fn lseek "int fildes" "off_t offset" "int whence" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| The | The | ||||
| .Fn lseek | .Fn lseek | ||||
| system call repositions the offset of the file descriptor | system call repositions the offset of the file descriptor | ||||
| .Fa fildes | .Fa fildes | ||||
| ▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines | |||||