ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fopen always returns a NULL pointer inside debugger


From: Dietmar P.Schindler
Subject: Re: fopen always returns a NULL pointer inside debugger
Date: Mon, 30 May 2005 08:10:39 +0200

Venkatesh Krishnan wrote:
>While using DDD for debugging, I am unable to open files. using fopen. the 
>file pointer is always NULL. Just running the executable from cygwin works 
>fine..it is only in the debugger that the file pointer is NULL.

You should check errno to see why fopen fails.

Saluton!        Dietmar P. Schindler




reply via email to

[Prev in Thread] Current Thread [Next in Thread]