Signal handling with osnsui & osncui [message #264756] |
Tue, 04 September 2007 08:16 |
Skippy le Grand Gourou
Messages: 1 Registered: September 2007
|
Junior Member |
|
|
Hi,
I would like to catch SIGINT (Ctrl-C) within a C++ program using an external (I mean, I didn't wrote it explicitely, I just call a class where there is a) Oracle call. Unfortunately, it makes my code crash with a segmentation fault.
I found that I have to use osncui() and osnsui() routines in order to do the things cleanly, as written here.
My problem is : which library or header do I need to link in order to make g++ knowing these routines ? I tried with libclntsh.so (which triggers on 'grep osnsui') but either I am not able to link it correctly, either it is not the right one...
Thanks.
[Updated on: Tue, 04 September 2007 08:16] Report message to a moderator
|
|
|