* getcontext not implemented?
@ 2000-10-19 20:46 Bharadwaj Yadavalli
0 siblings, 0 replies; only message in thread
From: Bharadwaj Yadavalli @ 2000-10-19 20:46 UTC (permalink / raw)
To: axp-list
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-10-19 20:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-19 20:46 getcontext not implemented? Bharadwaj Yadavalli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox