Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_fileend() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_FILEEND()

 DESCRIPTION

 C_FILEEND() moves the specified file handle to the end of the file.

 SYNTAX

 C_FILEEND(handle)

 PARAMETERS

 handle (N) is the file handle number assigned when the file was opened.

 RETURNS

 C_FILEEND() returns the current position in the file after moving
 the file pointer or a negative one (-1) if an error occurred.

 EXAMPLES

 f1 = fopen("test.txt",2)   && open for read/write
 ...

 c_fileend(f1)              && move to end of file
 ...

 fwrite(f1,"Append to end of file")
 ...

 c_filetop(f1)              && go back to top of file


See Also: C_FILETOP() C_FILEPOS() C_FILEEOF() C_FILEREAD()

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