xref: /netbsd-src/share/man/man3lua/intro.3lua (revision 03dcb730d46d34d85c9f496c1f5a3a6a43f2b7b3)
1.\"	$NetBSD: intro.3lua,v 1.7 2017/04/15 23:33:52 sevan Exp $
2.\"
3.\" Copyright (c) 2013, 2016 Marc Balmer <mbalmer@NetBSD.org>.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. Neither the name of the University nor the names of its contributors
15.\"    may be used to endorse or promote products derived from this software
16.\"    without specific prior written permission.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE.
29.\"
30.\"
31.Dd April 16, 2017
32.Dt INTRO 3lua
33.Os
34.Sh NAME
35.Nm intro
36.Nd introduction to the Lua modules
37.Sh DESCRIPTION
38This section provides an overview of the Lua modules, their
39functions, error returns and other common definitions and concepts.
40.Pp
41The Lua modules provided by
42.Nx
43are:
44.Pp
45.Bl -tag -width syslog -compact
46.It Em gpio
47Access
48.Xr gpio 4
49pins.
50.It Em sqlite
51Access
52.Xr sqlite3 1
53files.
54.It Em syslog
55Access
56.Xr syslog 3
57functionality.
58.El
59.Sh SEE ALSO
60.Xr lua 1 ,
61.Xr luac 1 ,
62.Xr gpio 3lua ,
63.Xr sqlite 3lua ,
64.Xr syslog 3lua ,
65.Xr intro 9lua
66.Sh HISTORY
67An
68.Nm
69manual for Lua modules appeared in
70.Nx 7.0 .
71