Joshua Brindle | 13cd4c8 | 2008-08-19 15:30:36 -0400 | [diff] [blame] | 1 | .TH "security_policyvers" "3" "1 January 2004" "russell@coker.com.au" "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(); |
Guillem Jover | 6ef13ee | 2012-11-13 21:15:34 +0100 | [diff] [blame] | 8 | . |
Joshua Brindle | 13cd4c8 | 2008-08-19 15:30:36 -0400 | [diff] [blame] | 9 | .SH "DESCRIPTION" |
Guillem Jover | 6ef13ee | 2012-11-13 21:15:34 +0100 | [diff] [blame] | 10 | .BR security_policyvers () |
| 11 | returns the version of the policy (a positive integer) on success, or \-1 on |
Joshua Brindle | 13cd4c8 | 2008-08-19 15:30:36 -0400 | [diff] [blame] | 12 | error. |
Guillem Jover | 6ef13ee | 2012-11-13 21:15:34 +0100 | [diff] [blame] | 13 | . |
Joshua Brindle | 13cd4c8 | 2008-08-19 15:30:36 -0400 | [diff] [blame] | 14 | .SH "SEE ALSO" |
| 15 | .BR selinux "(8)" |