Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Bharadwaj Yadavalli <sby@ives.lkg.dec.com>
To: axp-list@redhat.com
Subject: getcontext not implemented?
Date: Thu, 19 Oct 2000 16:46:18 -0400 (EDT)	[thread overview]
Message-ID: <200010192046.QAA30882@ives.lkg.dec.com> (raw)

Compiling the following program yields a warning

  warning: getcontext is not implemented and will always fail

#include <ucontext.h>
#include <stdio.h>

int
main ()
{
  ucontext_t ucp;

  if (getcontext(&ucp) == 0)
    printf("Flags: 0x%x\n", ucp.uc_flags);
  else
    printf("call to getcontext failed\n");
}

This might be a gcc question, but I thought I'd ask here 
first. It works fine on Tru64 though.

Can some one enlighten me on this?

Thanks,

Bharadwaj




                 reply	other threads:[~2000-10-19 20:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox