This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

getcontext not implemented?



Do excuse me if this is an FAQ.

Compiling the following program on my Linux/Alpha
box that has glibc 2.1.2 results in 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");
}

It works fine on Tru64 though.

Can some one enlighten me on this?

Thanks,

Bharadwaj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]