Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-09-2003, 09:48 PM   #1
LQ Newbie
Registered: Oct 2003
Location: China
Posts: 6

Rep: Reputation: 0
Question how to define a global variable

How to define a global variable in linux kernel? where to define ?
I want to use this variable in the kernel code to note the pid of the special process I interest in.
Old 11-09-2003, 11:43 PM   #2
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46

The above site is for people wanting to start learning how the kernel works and programming.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Global Variable? ElementNine Programming 5 11-05-2007 01:53 PM
diff between #define and const defined variable b123coder Programming 7 06-27-2005 09:02 AM
problems with a global variable javier_ccs Programming 2 06-21-2005 01:18 PM
python global variable? goestin Programming 1 01-20-2005 07:52 AM
how am i define an environment variable? yenonn Slackware 2 12-19-2003 08:44 AM

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration