Branch: Tag:

1999-04-12

1999-04-12 02:24:19 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

atexit() and weak arrays implemented

Rev: src/array.c:1.46
Rev: src/array.h:1.17
Rev: src/builtin_functions.c:1.166
Rev: src/encode.c:1.31
Rev: src/main.c:1.70
Rev: src/object.c:1.70
Rev: src/signal_handler.c:1.123
Rev: src/signal_handler.h:1.7

5:   \*/      /* -  * $Id: signal_handler.h,v 1.6 1998/03/28 14:59:32 grubba Exp $ +  * $Id: signal_handler.h,v 1.7 1999/04/12 02:24:19 hubbe Exp $    */   #ifndef SIGNAL_H   #define SIGNAL_H
13:   typedef RETSIGTYPE (*sigfunctype) (int);      /* Prototypes begin here */ - struct wait_data; +    struct sigdesc;   void my_signal(int sig, sigfunctype fun); -  + void check_signals(struct callback *foo, void *bar, void *gazonk); + void set_default_signal_handler(int signum, void (*func)(INT32)); + void process_started(pid_t pid); + void process_done(pid_t pid); + struct wait_data;   struct pid_status; -  + struct perishables; + struct plimit; + struct perishables; + void f_set_priority( INT32 args );   void f_create_process(INT32 args);   void f_fork(INT32 args); - void check_signals(struct callback *foo, void *bar, void *gazonk); + void f_kill(INT32 args); + void f_atexit(INT32 args);   void init_signals(void);   void exit_signals(void);   /* Prototypes end here */      #endif