Lines Matching defs:cmd_info
138 getaf(Cmd_info *cmd_info)
142 char *arnam = cmd_info->arnam;
150 if ((cmd_info->afd = fd = open(arnam, O_RDONLY)) == -1) {
165 cmd_info->arf = elf_begin(fd, cmd, (Elf *)0);
167 if (elf_kind(cmd_info->arf) != ELF_K_AR) {
169 if (cmd_info->opt_flgs & (a_FLAG | b_FLAG))
171 cmd_info->ponam);
304 getfile(Cmd_info *cmd_info)
310 char *arnam = cmd_info->arnam;
311 int fd = cmd_info->afd;
312 Elf *arf = cmd_info->arf;
377 if ((cmd_info->opt_flgs & (t_FLAG | s_FLAG)) != t_FLAG) {
1024 writefile(Cmd_info *cmd_info)
1031 char *name = cmd_info->arnam;
1072 if (cmd_info->opt_flgs & S_FLAG)
1126 if ((cmd_info->opt_flgs & c_FLAG) == 0) {
1128 cmd_info->arnam);
1196 if (cmd_info->opt_flgs & v_FLAG) {
1198 cmd_info->arnam);
1300 (void) elf_end(cmd_info->arf);
1301 (void) close(cmd_info->afd);