*buf = temp;
*bufp = temp;
unsigned int bind_argument_array(char **buf, char **argv, unsigned int argc, unsigned int offset) {    unsigned int i, size = 0;    char *temp;        if((argv == NULL) || (argc < 1))        return 0;        if(argc == 1) {        temp = (char*)callocm(strlen(argv[0])+1, sizeof(char));        if(temp == NULL)            return 0;        strcpy(temp, argv[0]);        *buf = temp;        return 1;    }        for(i = offset;i < argc;i++)        size += strlen(argv[i])+1;        temp = (char*)callocm(size, sizeof(char));    if(temp == NULL)        return 0;        for(i = offset;i < argc;i++) {        strcat(temp, argv[i]);        if(i+1 != argc)            strcat(temp, " ");    }        *buf = temp;        return 1;}