Carbon


Position Mode Constants

Header: Files.h

Together with an offset, specify a position within a fork.

enum {
    fsAtMark = 0,
    fsFromStart = 1,
    fsFromLEOF = 2,
    fsFromMark = 3
};

Constant descriptions

fsAtMark

Position at current mark.

fsFromStart

Position from beginning of file.

fsFromLEOF

Position from logical end-of-file.

fsFromMark

Position relative to current mark.

For the FSReadFork and FSWriteFork calls, you may also add either of the pleaseCacheMask or noCacheMask constants to hint whether the data should be cached or not. See “Cache Constants”.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)