File: tlsrpt_error_code_is_internal.adoc

package info (click to toggle)
libtlsrpt 0.5.0.-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: ansic: 605; makefile: 54; sh: 13
file content (37 lines) | stat: -rw-r--r-- 1,048 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
= tlsrpt_error_code_is_internal(3)
Boris Lohner
v0.5.0
:doctype: manpage
:manmanual: tlsrpt_error_code_is_internal
:mansource: tlsrpt_error_code_is_internal
:man-linkstyle: pass:[blue R < >]

== Name

tlsrpt_error_code_is_internal - returns if the error code is internal to the TLSRPT library

== Synopsis

#include <tlsrpt.h>

int tlsrpt_error_code_is_internal(int errorcode)

== Description

The `tlsrpt_error_code_is_internal` function returns if the error code is internal to the TLSRPT library.
`tlsrpt_error_code_is_internal` returns 1 if the error code describes an error internal to the TLSRPT library.
`tlsrpt_error_code_is_internal` returns 0 if the error code is a composed error code combined of the C library function and the call site within the TLSRPT library and the errno value resulting from the failed call into the C library.


== Return value

The tlsrpt_error_code_is_internal function returns if the error code is internal to the TLSRPT library.

== See also
man:tlsrpt_strerror[3], man:tlsrpt_errno_from_error_code[3]