.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH APM_AVAILABLE 1 "2006-01-03" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME apm_available \- test whether APM subsystem is available .SH SYNOPSIS .B apm_available .SH DESCRIPTION .B apm_available checks whether the APM ("Advanced Power Management") subsystem is available, as evidenced by the presence of the /proc/apm file. .SH OPTIONS None. .SH "EXIT STATUS" .br .nf \fB0\fR (true) APM subsystem is available \fB1\fR (false) APM subsystem is not available \fB2\fR usage error (arguments supplied) .SH FILES .br .nf .ta \w'/proc/apm 'u \fI/proc/apm\fR APM status information file .SH AUTHOR This manual page was written by Thomas Hood .