Lines Matching refs:content
475 struct filepointer *content; local
481 content = (struct filepointer *)malloc(sizeof(struct filepointer));
484 content->f_p = content->f_base = content->f_end = (char *)malloc(1);
485 *content->f_p = '\0';
486 return(content);
499 content->f_p = content->f_base = content->f_end = (char *)malloc(1);
500 *content->f_p = '\0';
501 return(content);
504 content->f_base = (char *)malloc(malloc_size+1);
505 if (content->f_base == NULL)
507 if ((bytes_read = read(fd, content->f_base, malloc_size)) < 0)
512 content->f_len = bytes_read+1;
513 content->f_p = content->f_base;
514 content->f_end = content->f_base + bytes_read;
515 *content->f_end = '\0';
516 content->f_line = 0;
517 return(content);