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

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -