"Fossies" - the Fresh Open Source Software Archive

Member "threads/include/pthread/sco_setjmp.h" (8 Nov 2000, 1478 Bytes) of package /linux/misc/old/pthreads-3.14.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "sco_setjmp.h" see the Fossies "Dox" file reference documentation.

    1 /* Copyright (C) 1992-2000 the Florida State University
    2    Distributed by the Florida State University under the terms of the
    3    GNU Library General Public License.
    4 
    5 This file is part of Pthreads.
    6 
    7 Pthreads is free software; you can redistribute it and/or
    8 modify it under the terms of the GNU Library General Public
    9 License as published by the Free Software Foundation (version 2).
   10 
   11 Pthreads is distributed "AS IS" in the hope that it will be
   12 useful, but WITHOUT ANY WARRANTY; without even the implied
   13 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   14 See the GNU Library General Public License for more details.
   15 
   16 You should have received a copy of the GNU Library General Public
   17 License along with Pthreads; see the file COPYING.  If not, write
   18 to the Free Software Foundation, 675 Mass Ave, Cambridge,
   19 MA 02139, USA.
   20 
   21 Report problems and direct all questions to:
   22 
   23   pthreads-bugs@ada.cs.fsu.edu
   24 
   25   @(#)sco_setjmp.h  3.14 11/8/00
   26 
   27 */
   28 
   29 #ifndef _PTHREAD_SETJMP_H_
   30 #define _PTHREAD_SETJMP_H_
   31 
   32 #ifdef __cplusplus
   33 extern "C" {
   34 #endif 
   35 
   36 #if defined(SCO5_NP)
   37 typedef int pthread_sigjmp_buf[_SIGJBLEN];
   38 #else
   39 typedef int pthread_sigjmp_buf[68];
   40 #endif
   41 
   42 extern int pthread_sigsetjmp (pthread_sigjmp_buf, int, int);
   43 extern void pthread_siglongjmp (pthread_sigjmp_buf, int, int);
   44 
   45 #define SYS_SIGSETJMP   pthread_sigsetjmp
   46 #define SYS_SIGLONGJMP  pthread_siglongjmp
   47 #define SYS_SIGJMP_BUF  pthread_sigjmp_buf
   48 
   49 #ifdef __cplusplus
   50 };
   51 #endif 
   52 
   53 #endif /* !_PTHREAD_SETJMP_H_ */