Module Name: src
Committed By: pgoyette
Date: Wed May 13 22:31:16 UTC 2015
Modified Files:
src/share/man/man9: module.9
src/share/man/man9lua: intro.9lua
Log Message:
Add a reference to the recently added module examples.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/share/man/man9/module.9
cvs rdiff -u -r1.4 -r1.5 src/share/man/man9lua/intro.9lua
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/module.9
diff -u src/share/man/man9/module.9:1.34 src/share/man/man9/module.9:1.35
--- src/share/man/man9/module.9:1.34 Wed May 13 12:21:04 2015
+++ src/share/man/man9/module.9 Wed May 13 22:31:16 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: module.9,v 1.34 2015/05/13 12:21:04 pgoyette Exp $
+.\" $NetBSD: module.9,v 1.35 2015/05/13 22:31:16 pgoyette Exp $
.\"
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -446,6 +446,10 @@ needed when a module is loaded or unload
deals with resolution of relocatable symbols.
.Fn module_init_md
is for finding modules passed in by the boot loader.
+.Sh EXAMPLES
+A set of example modules is available in the
+.Pa src/sys/modules.examples
+directory hierarchy.
.Sh SEE ALSO
.Xr modctl 2 ,
.Xr module 7 ,
Index: src/share/man/man9lua/intro.9lua
diff -u src/share/man/man9lua/intro.9lua:1.4 src/share/man/man9lua/intro.9lua:1.5
--- src/share/man/man9lua/intro.9lua:1.4 Mon Jan 6 13:03:01 2014
+++ src/share/man/man9lua/intro.9lua Wed May 13 22:31:16 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: intro.9lua,v 1.4 2014/01/06 13:03:01 wiz Exp $
+.\" $NetBSD: intro.9lua,v 1.5 2015/05/13 22:31:16 pgoyette Exp $
.\"
.\" Copyright (c) 2013 Marc Balmer <[email protected]>. All rights reserved.
.\"
@@ -36,6 +36,10 @@
.Sh DESCRIPTION
This section provides an overview of the Lua kernel bindings, their
functions, error returns and other common definitions and concepts.
+.Sh EXAMPLES
+An example module is available in the
+.Pa src/sys/modules/examples/
+directory hierarchy.
.Sh SEE ALSO
.Xr lua 1 ,
.Xr luac 1 ,