DEADSOFTWARE

subsystem C99 renamed to PosixC
[cpc.git] / src / native / linux / 486 / Posix / Mod / Csignal.cp
similarity index 79%
rename from src/native/linux/486/C99/Mod/signal.cp
rename to src/native/linux/486/Posix/Mod/Csignal.cp
index 343afcb78c330d19be0bf2d3142e232e376b098b..b063d925dcb86033d663fa333d8b4894b080c723 100644 (file)
@@ -1,39 +1,39 @@
-MODULE C99signal ['libc.so.6'];
+MODULE PosixCsignal ['libc.so.6'];
 
   (* generated by genposix.sh, do not modify *)
 
-  IMPORT SYSTEM, C99types, C99sys_types, C99time;
+  IMPORT SYSTEM, PosixCtypes, PosixCsys_types, PosixCtime;
 
   TYPE
-    char* = C99types.char;
-    signed_char* = C99types.signed_char;
-    unsigned_char* = C99types.unsigned_char;
-    short* = C99types.short;
-    short_int* = C99types.short_int;
-    signed_short* = C99types.signed_short;
-    signed_short_int* = C99types.signed_short_int;
-    unsigned_short* = C99types.unsigned_short;
-    unsigned_short_int* = C99types.unsigned_short_int;
-    int* = C99types.int;
-    signed* = C99types.signed;
-    signed_int* = C99types.signed_int;
-    unsigned* = C99types.unsigned;
-    unsigned_int* = C99types.unsigned_int;
-    long* = C99types.long;
-    long_int* = C99types.long_int;
-    signed_long* = C99types.signed_long;
-    signed_long_int* = C99types.signed_long_int;
-    unsigned_long* = C99types.unsigned_long;
-    unsigned_long_int* = C99types.unsigned_long_int;
-    long_long* = C99types.long_long;
-    long_long_int* = C99types.long_long_int;
-    signed_long_long* = C99types.signed_long_long;
-    signed_long_long_int* = C99types.signed_long_long_int;
-    unsigned_long_long* = C99types.unsigned_long_long;
-    unsigned_long_long_int* = C99types.unsigned_long_long_int;
-    float* = C99types.float;
-    double* = C99types.double;
-    long_double* = C99types.long_double;
+    char* = PosixCtypes.char;
+    signed_char* = PosixCtypes.signed_char;
+    unsigned_char* = PosixCtypes.unsigned_char;
+    short* = PosixCtypes.short;
+    short_int* = PosixCtypes.short_int;
+    signed_short* = PosixCtypes.signed_short;
+    signed_short_int* = PosixCtypes.signed_short_int;
+    unsigned_short* = PosixCtypes.unsigned_short;
+    unsigned_short_int* = PosixCtypes.unsigned_short_int;
+    int* = PosixCtypes.int;
+    signed* = PosixCtypes.signed;
+    signed_int* = PosixCtypes.signed_int;
+    unsigned* = PosixCtypes.unsigned;
+    unsigned_int* = PosixCtypes.unsigned_int;
+    long* = PosixCtypes.long;
+    long_int* = PosixCtypes.long_int;
+    signed_long* = PosixCtypes.signed_long;
+    signed_long_int* = PosixCtypes.signed_long_int;
+    unsigned_long* = PosixCtypes.unsigned_long;
+    unsigned_long_int* = PosixCtypes.unsigned_long_int;
+    long_long* = PosixCtypes.long_long;
+    long_long_int* = PosixCtypes.long_long_int;
+    signed_long_long* = PosixCtypes.signed_long_long;
+    signed_long_long_int* = PosixCtypes.signed_long_long_int;
+    unsigned_long_long* = PosixCtypes.unsigned_long_long;
+    unsigned_long_long_int* = PosixCtypes.unsigned_long_long_int;
+    float* = PosixCtypes.float;
+    double* = PosixCtypes.double;
+    long_double* = PosixCtypes.long_double;
 
   CONST
     SIG_DFL* = 0;
@@ -41,14 +41,14 @@ MODULE C99signal ['libc.so.6'];
     SIG_IGN* = 1;
 
   TYPE
-    pthread_t* = C99sys_types.pthread_t;
-    pthread_attr_t* = C99sys_types.pthread_attr_t;
-    size_t* = C99sys_types.size_t;
-    uid_t* = C99sys_types.uid_t;
-    pid_t* = C99sys_types.pid_t;
+    pthread_t* = PosixCsys_types.pthread_t;
+    pthread_attr_t* = PosixCsys_types.pthread_attr_t;
+    size_t* = PosixCsys_types.size_t;
+    uid_t* = PosixCsys_types.uid_t;
+    pid_t* = PosixCsys_types.pid_t;
 
   TYPE
-    struct_timespec* = C99time.struct_timespec;
+    struct_timespec* = PosixCtime.struct_timespec;
 
   TYPE
     sig_atomic_t* = INTEGER;
@@ -73,7 +73,7 @@ MODULE C99signal ['libc.so.6'];
     Punion_sigval* = POINTER TO union_sigval;
     union_sigval* = RECORD [union] (* 4 *)
       sival_int*: int; (* 0+4 *)
-      sival_ptr*: C99types.Pvoid; (* 0+4 *)
+      sival_ptr*: PosixCtypes.Pvoid; (* 0+4 *)
     END;
 
   CONST
@@ -116,7 +116,7 @@ MODULE C99signal ['libc.so.6'];
     struct_sigaction* = RECORD [noalign] (* 140 *)
       handler*: RECORD [union] (* 4 *)
         sa_handler*: PROCEDURE [ccall] (sig: int); (* 0+4 *)
-        sa_sigaction*: PROCEDURE [ccall] (sig: int; IN siginfo: siginfo_t; context: C99types.Pvoid); (* 0+4 *)
+        sa_sigaction*: PROCEDURE [ccall] (sig: int; IN siginfo: siginfo_t; context: PosixCtypes.Pvoid); (* 0+4 *)
       END; (* 0+4 *)
       sa_mask*: sigset_t; (* 4+128 *)
       sa_flags*: int; (* 132+4 *)
@@ -195,7 +195,7 @@ MODULE C99signal ['libc.so.6'];
   TYPE
     Pstack_t* = POINTER TO stack_t;
     stack_t* = RECORD [noalign] (* 12 *)
-      ss_sp*: C99types.Pvoid; (* 0+4 *)
+      ss_sp*: PosixCtypes.Pvoid; (* 0+4 *)
       ss_flags*: int; (* 4+4 *)
       ss_size*: size_t; (* 8+4 *)
     END;
@@ -208,16 +208,16 @@ MODULE C99signal ['libc.so.6'];
       si_code*: int; (* 8+4 *)
       info*: RECORD [union] (* 12 *)
         sigill*: RECORD [noalign] (* 4 *)
-          si_addr*: C99types.Pvoid; (* 0+4 *)
+          si_addr*: PosixCtypes.Pvoid; (* 0+4 *)
         END; (* 0+4 *)
         sigfpe*: RECORD [noalign] (* 4 *)
-          si_addr*: C99types.Pvoid; (* 0+4 *)
+          si_addr*: PosixCtypes.Pvoid; (* 0+4 *)
         END; (* 0+4 *)
         sigsegv*: RECORD [noalign] (* 4 *)
-          si_addr*: C99types.Pvoid; (* 0+4 *)
+          si_addr*: PosixCtypes.Pvoid; (* 0+4 *)
         END; (* 0+4 *)
         sigbus*: RECORD [noalign] (* 4 *)
-          si_addr*: C99types.Pvoid; (* 0+4 *)
+          si_addr*: PosixCtypes.Pvoid; (* 0+4 *)
         END; (* 0+4 *)
         sigchld*: RECORD [noalign] (* 12 *)
           si_pid*: pid_t; (* 0+4 *)
@@ -313,4 +313,4 @@ MODULE C99signal ['libc.so.6'];
   PROCEDURE [ccall] sigwait* (IN set: sigset_t; VAR sig: int): int;
   PROCEDURE [ccall] sigwaitinfo* (IN set: sigset_t; VAR [nil] info: siginfo_t): int;
 
-END C99signal.
+END PosixCsignal.