diff --git a/share/man/man9/module.9 b/share/man/man9/module.9 index 8fe8705874c3..f9274e5e0f2f 100644 --- a/share/man/man9/module.9 +++ b/share/man/man9/module.9 @@ -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 unloaded. 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 , diff --git a/share/man/man9lua/intro.9lua b/share/man/man9lua/intro.9lua index 4c00b0222953..c5455a6512a8 100644 --- a/share/man/man9lua/intro.9lua +++ b/share/man/man9lua/intro.9lua @@ -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 . 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 ,