~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to packages/base/libc/sigactionh.inc

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
type
3
3
   P_sigaction = ^_sigaction;
4
4
   _sigaction = record // Renamed, avoid conflict with sigaction function
5
 
     sa_handler : __sighandler_t;
6
 
     sa_mask : __sigset_t;
7
 
     sa_flags : longint;
8
 
     sa_restorer : procedure ;cdecl;
 
5
     case integer of
 
6
       1: (sa_handler : __sighandler_t;
 
7
           sa_mask : __sigset_t;
 
8
           sa_flags : longint;
 
9
           sa_restorer : procedure ;cdecl;
 
10
          );
 
11
       // Kylix compatibility
 
12
       2: (__sigaction_handler: __sighandler_t);
9
13
   end;
10
14
 
11
 
 
12
15
const
13
16
   SA_NOCLDSTOP = 1;
14
17
   SA_NOCLDWAIT = 2;
37
40
Type
38
41
  TSigAction = _sigaction;
39
42
  PSigAction = ^TSigAction;
40
 
 
41
43
  TRestoreHandler = procedure; cdecl;
42
 
 
43
 
 
 
44
   __sigaction = _sigaction;
 
45
  TSigActionHandler = procedure(Signal: Integer); cdecl; 
 
46
    
44
47