diff --git a/lib/lwres/man/lwres_context.3 b/lib/lwres/man/lwres_context.3 index e7a908c026..d55c14fef6 100644 --- a/lib/lwres/man/lwres_context.3 +++ b/lib/lwres/man/lwres_context.3 @@ -143,10 +143,6 @@ allocates \fIlen\fR bytes of memory and if successful returns a pointer to the allocated storage. -\fBlwres_context_allocmem()\fR -checks that -\fIlen\fR -must be greater than 0. \fBlwres_context_freemem()\fR frees \fIlen\fR diff --git a/lib/lwres/man/lwres_context.html b/lib/lwres/man/lwres_context.html index b9e2b69390..377125c434 100644 --- a/lib/lwres/man/lwres_context.html +++ b/lib/lwres/man/lwres_context.html @@ -364,18 +364,6 @@ bytes of memory and if successful returns a pointer to the allocated storage. lwres_context_allocmem() -checks that -len -must be greater than 0. -lwres_context_freemem() frees @@ -434,7 +422,7 @@ CLASS="PARAMETER" >

RETURN VALUES

SEE ALSO

lwres_getrrsetbyname() -returns zero on success or an error code if an error occurs. The defined -error codes are ERRSET_NOMEMORY (memory could not be allocated), -ERRSET_INVAL (a parameter is invalid) and ERRSET_FAIL (other failure).

ERRSET_NONAME

the name does not exist

ERRSET_NODATA

the name exists, but does not have data of the desired type

ERRSET_NOMEMORY

memory could not be allocated

ERRSET_INVAL

a parameter is invalid

ERRSET_FAIL

other failure

SEE ALSO

lwres_lwpacket_t.

Both functions have assertion checks to ensure that -b and pkt are not -NULL.

RETURN VALUES

current is presumed to point at an encoded address: the address preceded by a 32-bit protocol family identifier and a 16-bit length field. The encoded address is copied to @@ -101,9 +98,6 @@ addresses are to be looked up. Current values for this bitmask are \fBLWRES_ADDRTYPE_V4\fR for IPv4 addresses and \fBLWRES_ADDRTYPE_V6\fR for IPv6 addresses. Results of the lookup are returned in \fI*structp\fR. -\fBlwres_getaddrsbyname()\fR checks that its pointer -arguments are not \fBNULL\fR and that -\fIaddrtypes\fR is non-zero. .PP \fBlwres_getnamebyaddr()\fR performs reverse lookups. Resolver context \fIctx\fR is used for memory @@ -112,13 +106,7 @@ allocation. The address type is indicated by \fBLWRES_ADDRTYPE_V6\fR. The address to be looked up is given by \fIaddr\fR and its length is \fIaddrlen\fR bytes. The result of the function call -is made available through \fI*structp\fR. Like -\fBlwres_getaddrsbyname()\fR, -\fBlwres_getnamebyaddr()\fR uses assertion checking to -ensure its pointer arguments are not \fBNULL\fR and -\fIaddrtype\fR is not zero. -\fBlwres_getaddrsbyname()\fR also checks that -\fIaddrlen\fR is non-zero. +is made available through \fI*structp\fR. .SH "RETURN VALUES" .PP Successful calls to diff --git a/lib/lwres/man/lwres_resutil.html b/lib/lwres/man/lwres_resutil.html index 31466df7fd..ae3a2f6463 100644 --- a/lib/lwres/man/lwres_resutil.html +++ b/lib/lwres/man/lwres_resutil.html @@ -135,20 +135,7 @@ following the string length, the encoded string, and the trailing NULL character. -lwres_string_parse() has an assertion check that -b is not NULL.

character.

b. It checks that -addr is not null. The buffer's current pointer +>. The buffer's current pointer b->current*structp. -lwres_getaddrsbyname() checks that its pointer -arguments are not NULL and that -addrtypes is non-zero.

.

*structp. Like -lwres_getaddrsbyname(), -lwres_getnamebyaddr() uses assertion checking to -ensure its pointer arguments are not NULL and -addrtype is not zero. -lwres_getaddrsbyname() also checks that -addrlen is non-zero.

.

RETURN VALUES

SEE ALSO