File:  [DVB] / dietlibc / include / ucontext.h
Revision 1.2: download - view: text, annotated - select for diffs
Fri Oct 10 18:23:27 2014 UTC (9 years, 8 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
  add getcontext, setcontext, makecontext, swapcontext (i386 and x86_64 only for now)

#ifndef _UCONTEXT_H
#define _UCONTEXT_H

#include <sys/ucontext.h>

__BEGIN_DECLS

extern int getcontext (ucontext_t *c) __THROW;
extern int setcontext (const ucontext_t *c) __THROW;
extern int swapcontext (ucontext_t *__restrict o,
			const ucontext_t *__restrict n) __THROWNL;
extern void makecontext (ucontext_t *c, void (*__func) (void),
			 int argc, ...) __THROW;

__END_DECLS

#endif

LinuxTV legacy CVS <linuxtv.org/cvs>