Print this page
XXXX update sendmail to 8.14.9
   1 /*
   2  * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
   3  *      All rights reserved.
   4  * Copyright (c) 1990, 1993
   5  *      The Regents of the University of California.  All rights reserved.
   6  *
   7  * This code is derived from software contributed to Berkeley by
   8  * Chris Torek.
   9  *
  10  * By using this file, you agree to the terms and conditions set
  11  * forth in the LICENSE file which can be found at the top level of
  12  * the sendmail distribution.
  13  */
  14 
  15 #pragma ident   "%Z%%M% %I%     %E% SMI"
  16 
  17 #include <sm/gen.h>
  18 SM_RCSID("@(#)$Id: fpos.c,v 1.39 2005/06/14 23:07:20 ca Exp $")
  19 #include <errno.h>
  20 #include <setjmp.h>
  21 #include <sm/time.h>
  22 #include <sm/heap.h>
  23 #include <sm/signal.h>
  24 #include <sm/clock.h>
  25 #include <sm/io.h>
  26 #include <sm/assert.h>
  27 #include "local.h"
  28 
  29 static void     tellalrm __P((int));
  30 static jmp_buf TellTimeOut;
  31 
  32 /*
  33 **  TELLALRM -- handler when timeout activated for sm_io_tell()
  34 **
  35 **  Returns flow of control to where setjmp(TellTimeOut) was set.
  36 **
  37 **      Parameters:
  38 **              sig -- unused


   1 /*
   2  * Copyright (c) 2000-2001, 2004 Proofpoint, Inc. and its suppliers.
   3  *      All rights reserved.
   4  * Copyright (c) 1990, 1993
   5  *      The Regents of the University of California.  All rights reserved.
   6  *
   7  * This code is derived from software contributed to Berkeley by
   8  * Chris Torek.
   9  *
  10  * By using this file, you agree to the terms and conditions set
  11  * forth in the LICENSE file which can be found at the top level of
  12  * the sendmail distribution.
  13  */
  14 


  15 #include <sm/gen.h>
  16 SM_RCSID("@(#)$Id: fpos.c,v 1.40 2013-11-22 20:51:42 ca Exp $")
  17 #include <errno.h>
  18 #include <setjmp.h>
  19 #include <sm/time.h>
  20 #include <sm/heap.h>
  21 #include <sm/signal.h>
  22 #include <sm/clock.h>
  23 #include <sm/io.h>
  24 #include <sm/assert.h>
  25 #include "local.h"
  26 
  27 static void     tellalrm __P((int));
  28 static jmp_buf TellTimeOut;
  29 
  30 /*
  31 **  TELLALRM -- handler when timeout activated for sm_io_tell()
  32 **
  33 **  Returns flow of control to where setjmp(TellTimeOut) was set.
  34 **
  35 **      Parameters:
  36 **              sig -- unused