Deleted Added
full compact
elf_getdata.3 (221598) elf_getdata.3 (233648)
1.\" Copyright (c) 2006,2008,2010-2011 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,2010-2011 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.\" $FreeBSD: head/lib/libelf/elf_getdata.3 221598 2011-05-07 11:29:48Z kaiw $
24.\" $FreeBSD: head/lib/libelf/elf_getdata.3 233648 2012-03-29 05:02:12Z eadler $
25.\"
26.Dd January 26, 2011
27.Dt ELF_GETDATA 3
28.Os
29.Sh NAME
30.Nm elf_getdata ,
31.Nm elf_newdata ,
32.Nm elf_rawdata

--- 136 unchanged lines hidden (view full) ---

169members of the returned
170.Vt Elf_Data
171structure to NULL and the desired size of the section respectively.
172.Sh RETURN VALUES
173These functions return a valid pointer to a data descriptor if successful, or
174NULL if an error occurs.
175.Sh ERRORS
176These functions may fail with the following errors:
25.\"
26.Dd January 26, 2011
27.Dt ELF_GETDATA 3
28.Os
29.Sh NAME
30.Nm elf_getdata ,
31.Nm elf_newdata ,
32.Nm elf_rawdata

--- 136 unchanged lines hidden (view full) ---

169members of the returned
170.Vt Elf_Data
171structure to NULL and the desired size of the section respectively.
172.Sh RETURN VALUES
173These functions return a valid pointer to a data descriptor if successful, or
174NULL if an error occurs.
175.Sh ERRORS
176These functions may fail with the following errors:
177.Bl -tag -width "[ELF_E_RESOURCE]"
177.Bl -tag -width "[ELF_E_RESOURCE]"
178.It Bq Er ELF_E_ARGUMENT
179Arguments
180.Ar scn
181was NULL.
182.It Bq Er ELF_E_ARGUMENT
183Data descriptor
184.Ar data
185was not associated with section descriptor

--- 15 unchanged lines hidden ---
178.It Bq Er ELF_E_ARGUMENT
179Arguments
180.Ar scn
181was NULL.
182.It Bq Er ELF_E_ARGUMENT
183Data descriptor
184.Ar data
185was not associated with section descriptor

--- 15 unchanged lines hidden ---