From: Florian Forster Date: Thu, 12 Mar 2009 07:39:07 +0000 (+0100) Subject: ping_setopt(3): Document the PING_VERSION define. X-Git-Tag: liboping-1.1.0~10 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=d8317db37713620112fdfb7c0a51f9c6be4a0cc2;p=liboping.git ping_setopt(3): Document the PING_VERSION define. A typo if fixed, too. --- diff --git a/src/mans/ping_setopt.pod b/src/mans/ping_setopt.pod index 5a986c2..4235e28 100644 --- a/src/mans/ping_setopt.pod +++ b/src/mans/ping_setopt.pod @@ -17,7 +17,9 @@ The I argument is a pointer to an liboping object, as returned by L. The I argument specifies the option to set. Use one of the following -constants: +constants. You can check if the required constant is supported by the library +at compile time using C<#ifdef>. It is recommended to check for desired +features using the C define. =over 4 @@ -58,7 +60,7 @@ the source address assigned. =back The I argument is a pointer to the new value. It must not be NULL. It is -dereferences depending on the value of the I argument, see above. The +dereferenced depending on the value of the I argument, see above. The memory pointed to by I is not changed. =head1 RETURN VALUE