4.3BSD-Reno/share/man/cat3f/ftell.0

Compare this file to the similar file:
Show the results in this format:




FSEEK(3F)		      1986			FSEEK(3F)



NNAAMMEE
     fseek, ftell - reposition a file on a logical unit

SSYYNNOOPPSSIISS
     iinntteeggeerr ffuunnccttiioonn ffsseeeekk ((lluunniitt,, ooffffsseett,, ffrroomm))
     iinntteeggeerr ooffffsseett,, ffrroomm

     iinntteeggeerr ffuunnccttiioonn fftteellll ((lluunniitt))

DDEESSCCRRIIPPTTIIOONN
     _l_u_n_i_t must refer to an open logical unit.	_o_f_f_s_e_t is an
     offset in bytes relative to the position specified by _f_r_o_m.
     Valid values for _f_r_o_m are:

	  0 meaning `beginning of the file'
	  1 meaning `the current position'
	  2 meaning `the end of the file'

     The value returned by _f_s_e_e_k will be 0 if successful, a sys-
     tem error code otherwise.	(See perror(3F))

     _F_t_e_l_l returns the current position of the file associated
     with the specified logical unit. The value is an offset, in
     bytes, from the beginning of the file.  If the value
     returned is negative, it indicates an error and will be the
     negation of the system error code. (See perror(3F))

FFIILLEESS
     /usr/lib/libU77.a

SSEEEE AALLSSOO
     fseek(3S), perror(3F)























Printed 7/27/90                May				1