Hi,
I was going through a file known as
linux-2.6.34/kernel/timer.c and found following code.
static inline void
timer_set_base(struct timer_list *timer, struct tvec_base *new_base)
{
timer->base = (struct tvec_base *)((unsigned long)(new_base) |
tbase_get_deferrable(timer->base));
}
I want to understand what is it doing.
What is the meaning of static inline in above?
I searched and came across
http://www.velocityreviews.com/forum...functions.html
https://www.securecoding.cert.org/co...on-like+macros
http://tldp.org/HOWTO/KernelAnalysis-HOWTO-14.html
Also a book by
http://en.wikipedia.org/wiki/The_C_P...age_%28book%29
which page is that exactly given?
I am having a pdf reader
known as Document Viewer 2.26.0 there is no way I can search the complete document in it.
Also I am not clear with use of word static in a function definition.
[edit crabboy] link to copyrighted material removed [/edit]