Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>flen() - length of a file associated with a handle</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     flen() - length of a file associated with a handle
  Usage:    <integer> = flen(<handle>)
  Params:   integer <handle> from a previous fopen() or fcreate()
  Returns:  integer equal to the length of the file, -1 for error

 ---------------------------------- Example ---------------------------------

                 handle = fopen("test.txt")
                 fseek(handle,(flen(handle)))
                 fwrite(handle, "This is now at the end")
                 fclose(handle)


See Also: ftell() ferror()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson