> Uh, I'm not sure what to make of that mangling of my name. However, I
> think the pointer to Steven's book you provided may be the thing he
> needs. I certainly don't know what he needs based on his followup.
I'm really sorry for messing up your name like that. I suppose your domain
name was st
Eric Melville <[EMAIL PROTECTED]> types:
> > The system call is being interrupted, it just gets restarted right away by
> > default. See Steven's "UNIX Network Programming" for a means of avoiding
> > this behavior.
> Of course, I'm completely wrong because we're not even talking about a
> system
> The system call is being interrupted, it just gets restarted right away by
> default. See Steven's "UNIX Network Programming" for a means of avoiding
> this behavior.
Of course, I'm completely wrong because we're not even talking about a
system call here. Mike Mired already posted what you need
> Why does the alarm go off but not interrupt the system call? bzzt() is
> executed, but the program doesn't print Done and exit for a minute plus.
>
> Pointers to FM to RT welcome.
The system call is being interrupted, it just gets restarted right away by
default. See Steven's "UNIX Network Pr
David Miller <[EMAIL PROTECTED]> types:
> Apologies for this being more C than freebsd, but I did say OT in
> the subject...
>
> In the most basic use of an alarm, like this:
>
> #include
> #include
> #include
>
> sig_t
> signal(int sig, sig_t func);
>
> static void bzzt() {
> printf("
Apologies for this being more C than freebsd, but I did say OT in
the subject...
In the most basic use of an alarm, like this:
#include
#include
#include
sig_t
signal(int sig, sig_t func);
static void bzzt() {
printf("In routine bzzt now, timer expired after 3 seconds\n");
}
main() {
6 matches
Mail list logo