* Remove a superfluous error description.

* Document an additional error that may be returned: `ELF_E_ARCHIVE`.

Obtained from:	elftoolchain
MFC after:		1 month
This commit is contained in:
Kai Wang 2010-07-21 13:29:00 +00:00
parent 0806107365
commit 85de6c411e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210353

View File

@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd April 11, 2010
.Dd June 20, 2010
.Dt ELF_BEGIN 3
.Os
.Sh NAME
@ -224,6 +224,10 @@ Function
can fail with the following errors:
.Pp
.Bl -tag -width "[ELF_E_RESOURCE]"
.It Bq Er ELF_E_ARCHIVE
The archive denoted by argument
.Ar elf
could not be parsed.
.It Bq Er ELF_E_ARGUMENT
An unrecognized value was specified in argument
.Ar cmd .
@ -247,12 +251,6 @@ differs from the value specified when ELF descriptor
.Ar elf
was created.
.It Bq Er ELF_E_ARGUMENT
Argument
.Ar elf
was not a descriptor for an
.Xr ar 1
archive.
.It Bq Er ELF_E_ARGUMENT
An
.Xr ar 1
archive was opened with with