Subject: Problem in <Beginning Linux Program >
Posted By: balajirrao Post Date: 10/3/2005 6:06:00 AM
Sir,
I have a doubt in chapter 07 in 'Beginning linux programmming'.
At the end of the chapter there is a small CD database application written using NDBM library.

In search_cdc_entry() function found in cd_access.c, it is explicitly_mentioned that local_key_datum variable needs to be static.

Why should it be declared static?

Only GDBM and DBM have such conditions. I checked out the man pages.
I tried it making automatic, and it worked out well


Thank you.

Go to topic 35333

Return to index page 461
Return to index page 460
Return to index page 459
Return to index page 458
Return to index page 457
Return to index page 456
Return to index page 455
Return to index page 454
Return to index page 453
Return to index page 452