---
name: "selinux_restorecon_get_skipped_errors"
section: "3"
platform: "linux"
package: "libselinux1-dev"
version: "3.8.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/selinux_restorecon_get_skipped_errors"
---

# selinux\_restorecon\_get\_skipped\_errors(3)

get the number of errors ignored by selinux\_restorecon(3) or selinux\_restorecon\_parallel(3) during the file tree walk

## NAME

selinux\_restorecon\_get\_skipped\_errors - get the number of errors ignored by [**selinux\_restorecon**(3)](/selinux_restorecon/3.md) or [**selinux\_restorecon\_parallel**(3)](/selinux_restorecon_parallel/3.md) during the file tree walk

## SYNOPSIS

**#include \<selinux/restorecon.h\>**

**long unsigned selinux\_restorecon\_get\_skipped\_errors(void);**

## DESCRIPTION

If **SELINUX\_RESTORECON\_COUNT\_ERRORS** was passed to [**selinux\_restorecon**(3)](/selinux_restorecon/3.md) or [**selinux\_restorecon\_parallel**(3)](/selinux_restorecon_parallel/3.md) and that function returned successfully (i.e., with a zero return value), then **selinux\_restorecon\_get\_skipped\_errors**() returns the number of errors ignored during the file tree walk.

## SEE ALSO

[**selinux\_restorecon**(3)](/selinux_restorecon/3.md)
