A
Allan Adler
I think this is a C question rather than a Linux question.
I have a copy of Linux Core Kernel Commentary, Scott Maxwell, published
in 1999. On p.110, the source for include/asm-i386/current.h begins
#ifndef _I386_CURRENT_H
#define _I386_CURRENT_H
struct task_struct;
I'm not very good at C, so maybe this is really a dumb question, but it
is my impression that one does not simply write things like
struct task_struct;
I thought structure declarations had to have more in them, e.g. something like:
struct gleep { int gleep_no; char gleep_char;} gleep_instance;
What does it signify just to write "struct task_struct;"?
I have a copy of Linux Core Kernel Commentary, Scott Maxwell, published
in 1999. On p.110, the source for include/asm-i386/current.h begins
#ifndef _I386_CURRENT_H
#define _I386_CURRENT_H
struct task_struct;
I'm not very good at C, so maybe this is really a dumb question, but it
is my impression that one does not simply write things like
struct task_struct;
I thought structure declarations had to have more in them, e.g. something like:
struct gleep { int gleep_no; char gleep_char;} gleep_instance;
What does it signify just to write "struct task_struct;"?