---
name: "tlsrpt_error_code_is_internal"
section: "3"
platform: "linux"
package: "libtlsrpt"
version: "0.5.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/tlsrpt_error_code_is_internal"
---

# tlsrpt\_error\_code\_is\_internal(3)

returns if the error code is internal to the TLSRPT library

## 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\]

## AUTHOR

Boris Lohner
