DragonFly BSD
DragonFly kernel List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

static functions


From: Jonathon McKitrick <jcm@xxxxxxxxxxxxxxxxx>
Date: Thu, 31 Mar 2005 16:11:17 +0100

Sorry this is such a lame question, but I never quite figured out what
'static' does to a function declaration.  Obviously for a variable, it
allocates memory for the lifetime of the process rather than on the stack just
for one function call.  But what about 'static' for all the kernel functions
that have no return value?	

Jonathon McKitrick
--
My other computer is your Windows box.



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