raja wrote:

>    I am writing a function that takes the return value of the another 
> function and gives the  status of the function.
> if
>    error("functionName",arguments)
> here the function with Name "functionName " is to be executed with the 
> corresponding argunents.But by knowing the function name how can i get 
> the address if that function

dlsym().

> and how can i execute the function with the arguments.

You can't portably make a function call where the number of arguments
isn't known at compile time.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" 
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to