[BACK]Return to gelf_newehdr.3 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / bsd / elftoolchain / dist / libelf

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/external/bsd/elftoolchain/dist/libelf/gelf_newehdr.3 between version 1.3 and 1.4

version 1.3, 2016/02/20 02:43:42 version 1.4, 2021/03/08 20:55:06
Line 23 
Line 23 
 .\" out of the use of this software, even if advised of the possibility of  .\" out of the use of this software, even if advised of the possibility of
 .\" such damage.  .\" such damage.
 .\"  .\"
 .\" Id: gelf_newehdr.3 189 2008-07-20 10:38:08Z jkoshy  .\" Id: gelf_newehdr.3 3928 2021-03-07 19:47:55Z jkoshy
 .\"  .\"
 .Dd October 22, 2007  .Dd June 12, 2019
 .Os  
 .Dt GELF_NEWEHDR 3  .Dt GELF_NEWEHDR 3
   .Os
 .Sh NAME  .Sh NAME
 .Nm elf32_newehdr ,  .Nm elf32_newehdr ,
 .Nm elf64_newehdr ,  .Nm elf64_newehdr ,
Line 60  structure.
Line 60  structure.
 Function  Function
 .Fn elf64_newehdr  .Fn elf64_newehdr
 returns a pointer to a 64 bit  returns a pointer to a 64 bit
 .Vt Elf64_Ehdr structure.  .Vt Elf64_Ehdr
   structure.
 .Pp  .Pp
 When argument  When argument
 .Ar elfclass  .Ar elfclass
Line 128  flag on ELF descriptor
Line 129  flag on ELF descriptor
 .Ar elf .  .Ar elf .
 .Sh RETURN VALUES  .Sh RETURN VALUES
 These functions return a pointer to a translated header descriptor  These functions return a pointer to a translated header descriptor
 if successful, or NULL on failure.  if successful, or
   .Dv NULL
   on failure.
   .Sh COMPATIBILITY
   The
   .Fn gelf_newehdr
   function uses a type of
   .Ft "void *"
   for its returned value.
   This differs from some other implementations of the
   .Xr elf 3
   API, which use an
   .Ft "unsigned long"
   return type.
 .Sh ERRORS  .Sh ERRORS
 These functions can fail with the following errors:  These functions can fail with the following errors:
 .Bl -tag -width "[ELF_E_RESOURCE]"  .Bl -tag -width "[ELF_E_RESOURCE]"

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>