"Fossies" - the Fresh Open Source Software Archive

Member "threads/include/pthread/lin_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 "lin_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   @(#)lin_setjmp.h  3.14 11/8/00
   26 
   27 */
   28 
   29 #ifndef _PTHREAD_SETJMP_H_
   30 #define _PTHREAD_SETJMP_H_
   31 
   32 #ifndef _ANSI_SOURCE
   33 typedef int pthread_sigjmp_buf[68];
   34 #endif /* !_ANSI_SOURCE */
   35 
   36 #include <sys/cdefs.h>
   37 
   38 __BEGIN_DECLS
   39 #ifndef _ANSI_SOURCE
   40 int     pthread_sigsetjmp __P((pthread_sigjmp_buf, int, int));
   41 void    pthread_siglongjmp __P((pthread_sigjmp_buf, int, int));
   42 
   43 #define SYS_SIGSETJMP   pthread_sigsetjmp
   44 #define SYS_SIGLONGJMP  pthread_siglongjmp
   45 #define SYS_SIGJMP_BUF  pthread_sigjmp_buf
   46 #endif /* !_ANSI_SOURCE */
   47 __END_DECLS
   48 
   49 #endif /* !_PTHREAD_SETJMP_H_ */