Annotation of researchv10dc/dist/man/v3/man2/seek.2, revision 1.1

1.1     ! root        1: .pa 1
        !             2: .he 'SEEK (II)'3/15/72'SEEK (II)'
        !             3: .ti 0
        !             4: NAME           seek  --  move read/write pointer
        !             5: .sp
        !             6: .ti 0
        !             7: SYNOPSIS       (file descriptor in r0)
        !             8: .br
        !             9: sys seek; offset; ptrname  / seek = 19.
        !            10: .a
        !            11: .sp
        !            12: .ti 0
        !            13: DESCRIPTION    The file
        !            14: descriptor refers to a file open for reading or writing.
        !            15: The read (resp. write) pointer for the file is set as follows:
        !            16: .in +3
        !            17: .sp
        !            18: if ptrname_______ is 0, the pointer is set to offset______.
        !            19: .sp
        !            20: if ptrname_______
        !            21: is 1, the pointer is set to its current location plus offset______.
        !            22: .sp
        !            23: if ptrname_______ is 2, the pointer is set to the size of the
        !            24: file plus offset______.
        !            25: .sp
        !            26: .in -3
        !            27: .sp
        !            28: .ti 0
        !            29: SEE ALSO       --
        !            30: .sp
        !            31: .ti 0
        !            32: DIAGNOSTICS    The error bit
        !            33: (c-bit) is set for an undefined file descriptor.
        !            34: .sp
        !            35: .ti 0
        !            36: BUGS           A file
        !            37: can conceptually be as large
        !            38: as 2**20 bytes.
        !            39: Clearly only 2**16 bytes can be addressed by
        !            40: seek____.
        !            41: The problem is most acute on the
        !            42: large special files.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.