progsys:index
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| progsys:index [2019/11/20 21:53] – orel | progsys:index [2024/03/18 15:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 995: | Line 995: | ||
| int main(void) | int main(void) | ||
| { | { | ||
| - | | + | signal(SIGINT, |
| - | | + | |
| if (fork() == 0) | if (fork() == 0) | ||
| Line 1014: | Line 1013: | ||
| - | ==== Executer avant un certain délai -en sec.) ==== | + | ==== Timeout |
| <code C executer-avant-delai.c> | <code C executer-avant-delai.c> | ||
| Line 1025: | Line 1024: | ||
| static struct sigaction sa, old; | static struct sigaction sa, old; | ||
| - | static | + | static |
| static void myalarm(int sig) | static void myalarm(int sig) | ||
progsys/index.1574286810.txt.gz · Last modified: 2024/03/18 15:05 (external edit)
