Help for this page

Select Code to Download


  1. or download this
    // my_func() puts up to len bytes into buffer
    int my_func(void *p_struct, char *buffer, int len)
    
  2. or download this
    int
    my_xs_func(p_struct, OUTLIST buffer, len)
    ...
            RETVAL = my_func(p_struct, buffer, len);
        OUTPUT:
            RETVAL
    
  3. or download this
    int
    my_xs_func(p_struct, OUTLIST buffer, len)
    ...
            free(tmp_buffer);
        OUTPUT:
            RETVAL