linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dereferencing pointer to incomplete type in current->pid
@ 2002-11-22 19:10 Alberto
  2002-11-22 20:11 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 2+ messages in thread
From: Alberto @ 2002-11-22 19:10 UTC (permalink / raw)
  To: linux-c-programming

Hi,

I'm triying to work with the current macro. When i compile this code i
get the message:
"dereferencing pointer to incomplete type".

Any idea?

Thanks in advance


#include <sys/types.h>
#include <linux/kernel.h>
#include </usr/src/linux-2.4.18-18.7.x/include/asm-i386/current.h>
#include <sched.h>

main (void)
{
        printf (" pid  %l\n", current->pid );
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-22 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-22 19:10 dereferencing pointer to incomplete type in current->pid Alberto
2002-11-22 20:11 ` Jan-Benedict Glaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).