linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alberto <apedrero@upsa.es>
To: linux-c-programming@vger.kernel.org
Subject: dereferencing pointer to incomplete type in current->pid
Date: Fri, 22 Nov 2002 20:10:01 +0100	[thread overview]
Message-ID: <3DDE8109.375DA70C@upsa.es> (raw)

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 );
}






             reply	other threads:[~2002-11-22 19:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-22 19:10 Alberto [this message]
2002-11-22 20:11 ` dereferencing pointer to incomplete type in current->pid Jan-Benedict Glaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DDE8109.375DA70C@upsa.es \
    --to=apedrero@upsa.es \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).