-

Changes

Jump to: navigation, search

Functions HI-TECH C LSEEK

508 bytes added, 22:23, 31 July 2017
Created page with "<strong>LSEEK</strong> ==SYNOPSIS== #include <unixio.h> long lseek(int fd, long offs, int wh) ==DESCRIPTION== This function operates in an analogous manner to <..."
<strong>LSEEK</strong>
==SYNOPSIS==

#include <unixio.h>

long lseek(int fd, long offs, int wh)


==DESCRIPTION==
This function operates in an analogous manner to
<strong>fseek</strong>(), however it does so on unbuffered low-level i/o
file descriptors, rather than on STDIO streams. It also
returns the resulting pointer location. Thus <strong>lseek(fd,
0L, 1)</strong> returns the current pointer location without
moving it. -1 is returned on error.

==SEE ALSO==

open, close, read, write

Navigation menu