gelf_newehdr.3 (302408) | gelf_newehdr.3 (317623) |
---|---|
1.\" Copyright (c) 2006-2008 Joseph Koshy. All rights reserved. 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 7 unchanged lines hidden (view full) --- 16.\" for any direct, indirect, incidental, special, exemplary, or consequential 17.\" damages (including, but not limited to, procurement of substitute goods 18.\" or services; loss of use, data, or profits; or business interruption) 19.\" however caused and on any theory of liability, whether in contract, strict 20.\" liability, or tort (including negligence or otherwise) arising in any way 21.\" out of the use of this software, even if advised of the possibility of 22.\" such damage. 23.\" | 1.\" Copyright (c) 2006-2008 Joseph Koshy. All rights reserved. 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 7 unchanged lines hidden (view full) --- 16.\" for any direct, indirect, incidental, special, exemplary, or consequential 17.\" damages (including, but not limited to, procurement of substitute goods 18.\" or services; loss of use, data, or profits; or business interruption) 19.\" however caused and on any theory of liability, whether in contract, strict 20.\" liability, or tort (including negligence or otherwise) arising in any way 21.\" out of the use of this software, even if advised of the possibility of 22.\" such damage. 23.\" |
24.\" $Id: gelf_newehdr.3 189 2008-07-20 10:38:08Z jkoshy $ | 24.\" $Id: gelf_newehdr.3 3500 2016-12-04 11:08:44Z jkoshy $ |
25.\" 26.Dd October 22, 2007 27.Os 28.Dt GELF_NEWEHDR 3 29.Sh NAME 30.Nm elf32_newehdr , 31.Nm elf64_newehdr , 32.Nm gelf_newehdr --- 89 unchanged lines hidden (view full) --- 122.Pp 123If successful, these three functions set the 124.Dv ELF_F_DIRTY 125flag on ELF descriptor 126.Ar elf . 127.Sh RETURN VALUES 128These functions return a pointer to a translated header descriptor 129if successful, or NULL on failure. | 25.\" 26.Dd October 22, 2007 27.Os 28.Dt GELF_NEWEHDR 3 29.Sh NAME 30.Nm elf32_newehdr , 31.Nm elf64_newehdr , 32.Nm gelf_newehdr --- 89 unchanged lines hidden (view full) --- 122.Pp 123If successful, these three functions set the 124.Dv ELF_F_DIRTY 125flag on ELF descriptor 126.Ar elf . 127.Sh RETURN VALUES 128These functions return a pointer to a translated header descriptor 129if successful, or NULL on failure. |
130.Sh COMPATIBILITY 131The 132.Fn gelf_newehdr 133function uses a type of 134.Ft "void *" 135for its returned value. 136This differs from some other implementations of the ELF(3) API, which use an 137.Ft "unsigned long" 138return type. |
|
130.Sh ERRORS 131These functions can fail with the following errors: 132.Bl -tag -width "[ELF_E_RESOURCE]" 133.It Bq Er ELF_E_ARGUMENT 134The argument 135.Ar elf 136was null. 137.It Bq Er ELF_E_ARGUMENT --- 48 unchanged lines hidden --- | 139.Sh ERRORS 140These functions can fail with the following errors: 141.Bl -tag -width "[ELF_E_RESOURCE]" 142.It Bq Er ELF_E_ARGUMENT 143The argument 144.Ar elf 145was null. 146.It Bq Er ELF_E_ARGUMENT --- 48 unchanged lines hidden --- |