Searched refs:num_filesp (Results 1 – 1 of 1) sorted by relevance
346 create_ncp_file_list(char ***ncpfilesp, uint_t *num_filesp) in create_ncp_file_list() argument357 *num_filesp = 0; in create_ncp_file_list()376 if ((ncpfiles[*num_filesp] = malloc(filenamelen)) == NULL) { in create_ncp_file_list()380 (void) strlcpy(ncpfiles[*num_filesp], NWAM_CONF_DIR, in create_ncp_file_list()382 (void) strlcpy(ncpfiles[*num_filesp] + strlen(NWAM_CONF_DIR), in create_ncp_file_list()384 (*num_filesp)++; in create_ncp_file_list()391 for (i = 0; i < *num_filesp; i++) in create_ncp_file_list()395 *ncpfilesp = realloc(ncpfiles, sizeof (char *) * (*num_filesp)); in create_ncp_file_list()396 if (*num_filesp != 0 && *ncpfilesp == NULL) in create_ncp_file_list()