Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 3rd, 2005, 06:06 AM
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to balajirrao
Default Problem in <Beginning Linux Program >

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in <Beginning Linux Programming> Chap21 users Linux 1 June 2nd, 2005 11:28 PM
i need the code which <BEGINNING C#>,i download it whoami521 All Other Wrox Books 0 April 15th, 2005 08:49 AM
<style> tags in a <body> vs. <div> bcat BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 March 27th, 2005 08:50 AM
<marquee><b>About CHAT App. in PHP4</b></marquee> Ramkrishna PHP How-To 1 September 11th, 2004 07:01 AM
a problem in book<<beginning asp.net using vb>> luoware ASP.NET 1.0 and 1.1 Basics 3 December 8th, 2003 09:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.