Home » Developer & Programmer » Precompilers, OCI & OCCI » Signal handling with osnsui & osncui
Signal handling with osnsui & osncui [message #264756] Tue, 04 September 2007 08:16
Skippy le Grand Gourou
Messages: 1
Registered: September 2007
Junior Member

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...


[Updated on: Tue, 04 September 2007 08:16]

Report message to a moderator

Previous Topic: PCC-S-02201 occured while compiling proc file
Next Topic: Duplication in OCI Batch mode insertion problem
Goto Forum:

Current Time: Sun Jul 03 16:49:20 CDT 2022