User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 428,366 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,417 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums

ftell() fclose() and FILE* f = NULL

Join Date: Oct 2006
Posts: 96
Reputation: edek is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
edek's Avatar
edek edek is offline Offline
Junior Poster in Training

Re: ftell() fclose() and FILE* f = NULL

  #7  
May 10th, 2008
Originally Posted by Salem View Post
Is that because it detected NULL and cleanly exited, or dereferenced NULL and bombed?

It seems to cleanly exit with the value -1. It does not return value to indicate error, it exits the whole application with value -1.
Reply With Quote  
All times are GMT -4. The time now is 6:51 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC