MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
IPSECSTREROR(3)        BSD Library Functions Manual        IPSECSTREROR(3)

NAME
     ipsecstrerror -- error message for IPsec policy manipulation library

SYNOPSIS
     ##include <>

     const char *
     ipsecstrerror();

DESCRIPTION
     netinet6/ipsec.h declares

           extern int ipsecerrcode;

     which is used to pass an error code from IPsec policy manipulation
     library to an user program.  ipsecstrerror() can be used to obtain the
     error message string for the error code.

     The array pointed to is not to be modified by the program.  Since
     ipsecstrerror() uses strerror(3) as underlying function, calling
     strerror(3) after ipsecstrerror() would make the return value from
     ipsecstrerror() invalid, or overwritten.

RETURN VALUES
     ipsecstrerror() always return a pointer to C string.  The C string must
     not be overwritten by user programs.

SEE ALSO
     ipsecsetpolicy(3)

HISTORY
     ipsecstrerror() first appeared in WIDE/KAME IPv6 protocol stack kit.

BUGS
     ipsecstrerror() will return its result which may be overwritten by sub-
     sequent calls.

BSD                               May 6, 1998                              BSD
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™