home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
languages
/
northc_384
/
clibs
/
unix
/
lseek.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-08-30
|
526b
|
27 lines
/*
(c) 1990 S.Hawtin.
Permission is granted to copy this file provided
1) It is not used for commercial gain
2) This notice is included in all copies
3) Altered copies are marked as such
No liability is accepted for the contents of the file.
lseek.c within Public Domain UNIX.lib
*/
#include <types.h>
#include "unix.h"
extern long Seek();
long
lseek(handle,offset,whence)
APTR handle;
long offset;
int whence;
{/* Do a seek */
return(Seek(handle,offset,(long)(whence - 1)));
}