Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Writing Oracle APIs
In article <32E916CC.6B3A_at_mediadata.com.sg>, Mars
<mars_at_mediadata.com.sg> writes
>Hi,
>
>I need help writing Oracle APIs to be called by a C program. The API
>will be in a shared library and called by my C program.
>
>The problem is that my C program will be running as a daemon and will
>have no Oracle environment settings such as ORACLE_HOME. Is this
>possible?
>
Are you talking about Unix here?
Any background process should inherit the environment of the process which started it.
If you are starting your daemon at boot up time you need to run it from a shell script which sets up the necessary environment before running your program
-- Jim SmithReceived on Sun Jan 26 1997 - 00:00:00 CST
![]() |
![]() |