home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / uccs / root.14 / udk / usr / include / ucontext.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-19  |  948 b   |  31 lines

  1. /*
  2.  * Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved. 
  3.  *                                                                         
  4.  *        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE               
  5.  *                   SANTA CRUZ OPERATION INC.                             
  6.  *                                                                         
  7.  *   The copyright notice above does not evidence any actual or intended   
  8.  *   publication of such source code.                                      
  9.  */
  10.  
  11. #ifndef _UCONTEXT_H
  12. #define _UCONTEXT_H
  13. #ident    "@(#)sgs-head:common/head/ucontext.h    1.5"
  14.  
  15. #include <sys/ucontext.h>
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. extern int    getcontext(ucontext_t *);
  22. extern int    setcontext(const ucontext_t *);
  23. extern int    swapcontext(ucontext_t *, const ucontext_t *);
  24. extern void    makecontext(ucontext_t *, void(*)(), int, ...);
  25.  
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29.  
  30. #endif /*_UCONTEXT_H*/
  31.