D | tail.c | 35 struct line_list { struct 36 struct line_list *next, *prev; argument 41 static struct line_list *get_chunk(int fd, int len) in get_chunk() argument 43 struct line_list *line = xmalloc(sizeof(struct line_list)+len); in get_chunk() 45 memset(line, 0, sizeof(struct line_list)); in get_chunk() 46 line->data = ((char *)line) + sizeof(struct line_list); in get_chunk() 59 struct line_list *list = ptr; in dump_chunk() 70 struct line_list *list = 0, *temp; in try_lseek() 146 struct line_list *list = 0, *new; in do_tail()
|