basic.%lseek

C Function/BASIC Program, Releases: AP/Unix

Sets Unix file pointer.

Syntax

variable= %lseek(file.descriptor, offset, whence)

Description

moves the read/write pointer. See the Unix programmer's reference manual.

See Also

Command Name Type Description
basic.cfunc Definition can be called from a Pick/BASIC program or subroutine in AP/DOS and AP/Unix implementations using a syntax similar to that of normal C.
basic.cfunction Definition Declare a list of C functions.
basic.%open C Function Opens a Unix file for reading or writing.
basic.%read C Function Reads from a Unix file.
basic.%write C Function Writes to a Unix file.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.