home *** CD-ROM | disk | FTP | other *** search
-
-
-
- sssseeeeeeeekkkk((((nnnn)))) TTTTccccllll (((( )))) sssseeeeeeeekkkk((((nnnn))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- seek - Change the access position for an open file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- sssseeeeeeeekkkk _f_i_l_e_I_d _o_f_f_s_e_t ?_o_r_i_g_i_n?
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Change the current access position for _f_i_l_e_I_d. _F_i_l_e_I_d must
- have been the return value from a previous call to ooooppppeeeennnn, or
- it may be ssssttttddddiiiinnnn, ssssttttddddoooouuuutttt, or ssssttttddddeeeerrrrrrrr to refer to one of the
- standard I/O channels. The _o_f_f_s_e_t and _o_r_i_g_i_n arguments
- specify the position at which the next read or write will
- occur for _f_i_l_e_I_d. _O_f_f_s_e_t must be an integer (which may be
- negative) and _o_r_i_g_i_n must be one of the following:
-
- ssssttttaaaarrrrtttt
- The new access position will be _o_f_f_s_e_t bytes from the
- start of the file.
-
- ccccuuuurrrrrrrreeeennnntttt
- The new access position will be _o_f_f_s_e_t bytes from the
- current access position; a negative _o_f_f_s_e_t moves the
- access position backwards in the file.
-
- eeeennnndddd The new access position will be _o_f_f_s_e_t bytes from the
- end of the file. A negative _o_f_f_s_e_t places the access
- position before the end-of-file, and a positive _o_f_f_s_e_t
- places the access position after the end-of-file.
-
- The _o_r_i_g_i_n argument defaults to ssssttttaaaarrrrtttt. This command returns
- an empty string.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- access position, file, seek
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 7/17/95)
-
-
-
-