binio-ftell | ![]() |
(binio-ftell <stream>)
Returns the position of the actual file pointer of the opened stream.
Dependant on an external library: so far only binio.fas for ViLL or vlisp.
(binio-fseek f 2004) (binio-ftell f) => 2004 (binio-frewind f)(repeat 10 (binio-fgetc f)) (binio-ftell f) => 10
stream: internal object representation of a opened binary file.
Either the new file pointer position as integer. Or a real number if the number is too large for the current AutoLISP integer representation. Or nil on any non-serious error. (when nil?)
None.
(std-require-external 'BINIO)
Defined in BINIO