c - what value will be passed when i press the key a -
when press ctrl+c sigint passed signal() . value pass system call signal() when press key ?
no signal raised.
the purpose of signals inform special condition outside normal program flow. processing input, letter a, part of normal program flow. these 2 separate, , have different goals.
if you're on unix, type man signal
on console.
Comments
Post a Comment