Hello there, do you have any idea where to get a good reference for the function fseek64?
Or does anyone of you here knows this function or is there really a fseek64 function? lol. Thanks!
jaepi
22
Practically a Master Poster
Recommended Answers
Jump to Postfseek64 isn't a standard function, so if it exists for your compiler, the documentation will tell you where to find it and how to use it. Have you tried fgetpos and fsetpos? They're designed for large files and the implementation typically uses a 64-bit type as the base for fpos_t.
…
Jump to PostI don't know anything about it, infact nothing about 64 bit programming. But a liitle google search helped me to find this.
Jump to Post>> what function which is similar to stat that asks for a FILE* fildes rather than int fildes?
the function[B]int fileno(FILE *stream);[/B]
is part of both posix and single unix specifications. http://www.opengroup.org/onlinepubs/009695399/functions/fileno.html
…
Jump to Post>I have heared 'bout fsetpos but I did'nt know that it could deal with larger filetypes.
That's what fsetpos and fgetpos are there for. fseek is limited to the size of a long integer, but because fsetpos and fgetpos rely on an opaque type (fpos_t) for representing the offset, implementations …
Jump to PostSince this is a C question and not C++ I'm moving it over to the C board.
All 18 Replies
jaepi
22
Practically a Master Poster
Narue
5,707
Bad Cop
Team Colleague
GreenDay2001
jaepi
commented:
You enlightened me. lol
+2
vijayan121
1,152
Posting Virtuoso
jaepi
commented:
Exactly what I need.
+2
jaepi
22
Practically a Master Poster
Narue
5,707
Bad Cop
Team Colleague
jaepi
commented:
Hell yeah. Thanks!
+2
jaepi
22
Practically a Master Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Narue
5,707
Bad Cop
Team Colleague
jaepi
22
Practically a Master Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
jaepi
22
Practically a Master Poster
Salem
5,138
Posting Sage
jaepi
22
Practically a Master Poster
Salem
5,138
Posting Sage
jaepi
22
Practically a Master Poster
Salem
5,138
Posting Sage
jaepi
22
Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.