Search Results

Search: Posts Made By: joker40
2,616
Posted By Corona688
You might want ot wait for the children after all...
You might want ot wait for the children after all of them are created. and you might want to fflush() immediately after you print. other than that it looks ok.
37,106
Posted By Corona688
keys are indeed ordinary integers, at least on my...
keys are indeed ordinary integers, at least on my system, but if you're looking for a hex value you should print with %x. Right now you're printing base-ten, which of course won't show a hexadecimal...
17,218
Posted By DGPickett
One of the stop signals cannot be caught,...
One of the stop signals cannot be caught, something the kill not signal man page tells you. My very educational buddy truss/tusc tells us:tusc -fap ksh -i(p is a named pipe, so typing 'wc p' hangs...
17,218
Posted By methyl
I have no idea what the relevence of DGPickett's...
I have no idea what the relevence of DGPickett's post is.

The ctrl/z is being picked up by shell before it gets to your program. In foreground ctrl/z is commonly mapped to SUSP (suspend). The...
1,944
Posted By Corona688
You added it to the s variable, is all. The...
You added it to the s variable, is all. The system hasn't been told to use it, that's what sigprocmask is for. No. From man sigprocmask:
SIG_BLOCK
The set of blocked signals...
1,944
Posted By Corona688
Try reading 'man sigprocmask'. SIG_BLOCK is the...
Try reading 'man sigprocmask'. SIG_BLOCK is the operation being performed, and SIGILL is the signal in question. So the code is
Creating an empty set of signals
Adding SIGILL to that set
...
2,264
Posted By achenle
Why do you think the parent process won't execute...
Why do you think the parent process won't execute the printf() statement?
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy