Hello all, 

   I have a local C library that I interfaced with XS.  The library has an
   open function that looks for arguments that are sent in to the function.
   If the arguments are Null, the function will check env variables for the 
   values.  When calling this function from perl, the env variables are never
   set.   The function uses this macro,

   #define GETENV(var, env) ( (var) == NULL ? getenv((env)) : (var) )

   , this is used to fill a structure that holds the values.  If I send in 
   non-null arguments the values are set correctly.  I cannot get the env 
   variables to populate the C structure.  I can easily interface the env
   through %ENV, but this is needed internally by the C function.  Any ideas or
   suggestions?

                  
                            Thanks,
                                
                                 STH

----------------------------------
E-Mail: [EMAIL PROTECTED]
Date: 30-May-2003
Time: 09:04:51
----------------------------------

Reply via email to