The mi_func_negator() function
The mi_func_negator() function obtains the name of a negator function for a user-defined function.
Syntax
char *mi_func_negator(funcdesc_ptr)
MI_FUNC_DESC *funcdesc_ptr;
- funcdesc_ptr
- A pointer to a function descriptor for a user-defined function.
Valid in client LIBMI application? | Valid in user-defined routine? |
---|---|
No | Yes |
Usage
The mi_func_negator() function obtains the name of the negator function for the user-defined function associated with the funcdesc_ptr function descriptor. A negator function evaluates the Boolean NOT condition for its associated Boolean user-defined function. When you register a Boolean user-defined function, you can specify the NEGATOR routine modifier in the CREATE FUNCTION statement to associate a negator function with the user-defined function.
The mi_func_negator() function is one of the functions of the Fastpath interface.
Return values
- A char pointer
- A pointer to the name of the negator function for the user-defined function that the funcdesc_ptr function descriptor identifies.
- NULL
- The function was not successful.