libselinux/man/man3/security_policyvers.3
raw| 1 | .TH "security_policyvers" "3" "1 January 2004" "[email protected]" "SELinux API documentation" |
| 2 | .SH "NAME" |
| 3 | security_policyvers \- get the version of the SELinux policy |
| 4 | .SH "SYNOPSIS" |
| 5 | .B #include <selinux/selinux.h> |
| 6 | .sp |
| 7 | .B int security_policyvers(); |
| 8 | . |
| 9 | .SH "DESCRIPTION" |
| 10 | .BR security_policyvers () |
| 11 | returns the version of the policy (a positive integer) on success, or \-1 on |
| 12 | error. |
| 13 | . |
| 14 | .SH "SEE ALSO" |
| 15 | .BR selinux "(8)" |