제가 만든 프로그램 돌릴때 ctrl c 누르면 강제 종료가 안되고 계속 유지되는
코드가 뭐져..ㅠ
SIGINT 시그널 생성을 막거나, - tcsetattr, termios SIGINT 시그널을 무시합니다. - signal, SIG_IGN
man tcsetattr man signal 등으로 찾아보세요
언제나 삽질 - http://tisphie.net/typo/ 프로그래밍 언어 개발 - http://langdev.net
그냥 무시해버리는 걸로 만들었습니다!
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
SIGINT 시그널 생성을 막거나, -
SIGINT 시그널 생성을 막거나,
- tcsetattr, termios
SIGINT 시그널을 무시합니다.
- signal, SIG_IGN
man tcsetattr
man signal
등으로 찾아보세요
언제나 삽질 - http://tisphie.net/typo/
프로그래밍 언어 개발 - http://langdev.net
감사합니다~
그냥 무시해버리는 걸로 만들었습니다!
댓글 달기