Lines Matching +full:no +full:- +full:can +full:- +full:fd
1 .\" Copyright (c) 2006,2008-2011 Joseph Koshy. All rights reserved.
15 .\" are disclaimed. in no event shall Joseph Koshy be liable
24 .\" $Id: elf_begin.3 3639 2018-10-14 14:07:02Z jkoshy $
37 .Fn elf_begin "int fd" "Elf_Cmd cmd" "Elf *elf"
55 .Ar fd
62 .Ar fd
72 .Bl -tag -width "ELF_C_WRITE"
78 .Ar fd
81 are ignored, and no additional error is signalled.
85 .Ar fd
88 It can be used for both
97 .Ar fd
108 .Ar fd
123 .Ar fd
133 .Ar fd
142 .Ar fd
150 is non-null, it should point to a descriptor previously
154 .Ar fd
161 Changes to the in-memory image of the ELF file may be written back to
169 .Ar fd
174 .Ar fd
188 The returned ELF descriptor can be passed into to
210 .Bd -literal -offset indent
215 if ((ar_e = elf_begin(fd, c, (Elf *) 0)) == 0) {
218 while ((elf_e = elf_begin(fd, c, ar_e)) != 0) {
226 .Bd -literal -offset indent
227 int fd;
230 if ((fd = open("filename", O_RDWR|O_TRUNC|O_CREAT, 0666)) < 0) {
233 if ((e = elf_begin(fd, ELF_C_WRITE, (Elf *) 0)) == 0) {
244 .Bl -tag -width "[ELF_E_RESOURCE]"
254 A non-null value for argument
262 .Ar fd
281 .Ar fd
285 .Ar fd
289 .Ar fd
293 .Ar fd
304 .Ar fd