strerror_r


Description:

[ CCode ( cname = "gpgme_strerror_r" ) ]
public int strerror_r (Error err, uint8[] buf)

Return the error string for ERR in the user-supplied buffer BUF of size BUFLEN. This function is thread-safe, if a thread-safe strerror_r() function is provided by the system. If the function succeeds, 0 is returned and BUF contains the string describing the error. If the buffer was not large enough, ERANGE is returned and BUF contains as much of the beginning of the error string as fits into the buffer. Returns Error Status Code.


Namespace: GPG
Package: gpgme



2022 vala-language.org