How to check for an end of file without feof()
- From: "anonymous" <call_ret@xxxxxxxxx>
- Date: 10 Nov 2006 05:19:31 -0800
Hello All,
Is there any way to check for the end of file without using feof().
In fact, I have opened a file using
fildes = open ( "myfile", O_RDONLY );
therefore, I have with me int fildes instead of FILE * fileptr which is
required to check for end of file
using feof (fileptr);
So, my question is again as noted in the first line of this post.
Thanks for any help.
A.
.
- Follow-Ups:
- Re: How to check for an end of file without feof()
- From: Kaz Kylheku
- Re: How to check for an end of file without feof()
- From: Josef Moellers
- Re: How to check for an end of file without feof()
- From: Pascal Bourguignon
- Re: How to check for an end of file without feof()
- Prev by Date: Re: Data as Files
- Next by Date: Re: How to check for an end of file without feof()
- Previous by thread: Linux C++ debugger
- Next by thread: Re: How to check for an end of file without feof()
- Index(es):