File: RDLP_Backlight.3

package info (click to toggle)
coldsync 3.0%2Bpre3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,188 kB
  • ctags: 2,033
  • sloc: ansic: 20,386; perl: 2,302; cpp: 1,640; yacc: 1,102; lex: 802; makefile: 533; sh: 177
file content (50 lines) | stat: -rw-r--r-- 1,196 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.\" RDLP_Backlight.3
.\" 
.\" Copyright 2001, Andrew Arensburger.
.\" You may distribute this file under the terms of the Artistic
.\" License, as specified in the README file.
.\"
.\" $Id: RDLP_Backlight.3,v 1.1 2001/09/05 07:29:42 arensb Exp $
.\"
.\" This man page uses the 'mdoc' formatting macros. If your 'man' uses
.\" the old 'man' package, you may run into problems.
.\"
.Dd Aug 16, 2001
.Dt RDLP_Backlight 3
.Sh NAME
.Nm RDLP_Backlight
.Nd query and/or set backlight on a PalmOS device
.Sh LIBRARY
.Pa libpconn
.Sh SYNOPSIS
.Fd #include <palm.h>
.Fd #include <pconn/pconn.h>
.Ft int
.Fn RDLP_Backlight "PConnection *pconn" "Bool set" "Bool newState"
.Sh DESCRIPTION
.Nm
queries whether the backlight is turned on on a Palm, and optionally
turns it on or off.
.Pp
If
.Fa set
is true,
.Nm
turns the backlight on or off, according to
.Fa newState .
If
.Fa newState
is true, the backlight is turned on; otherwise the backlight is turned
off. If
.Fa set
is false,
.Fa newState
is ignored.
.Sh RETURN VALUE
.Nm
returns 0 if the backlight was turned off prior to the call to
.Nm RDLP_Backlight ,
or a non-zero value if the backlight was turned on.
.Sh SEE ALSO
.Xr libpconn 3 ,
.Xr DlpRPC 3 .