Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Improve wording. Use standard section headers...



details:   https://anonhg.NetBSD.org/src/rev/e96f40ee980f
branches:  trunk
changeset: 352932:e96f40ee980f
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sat Apr 15 04:08:24 2017 +0000

description:
Improve wording. Use standard section headers. Improve table formatting.

diffstat:

 share/man/man9/klua_lock.9 |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (49 lines):

diff -r da05ab71b9bc -r e96f40ee980f share/man/man9/klua_lock.9
--- a/share/man/man9/klua_lock.9        Sat Apr 15 04:07:52 2017 +0000
+++ b/share/man/man9/klua_lock.9        Sat Apr 15 04:08:24 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: klua_lock.9,v 1.1 2017/04/15 03:33:05 kamil Exp $
+.\"    $NetBSD: klua_lock.9,v 1.2 2017/04/15 04:08:24 wiz Exp $
 .\"
 .\" Copyright (c) 2015 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -92,14 +92,14 @@
 prohibiting the case of creating a state from kernel and destroying it in
 the userland.
 .Pp
-The kernel Lua API is designed after ther userland Lua API.
+The kernel Lua API is designed after the userland Lua API.
 .Ss List of Functions
-.Bl -column "copysignX" "gammaX3XX" "inverse trigonometric funcX"
-.It Sy kernel API Sy userland API Sy Description
+.Bl -column "kluaL_newstateX" "luaL_newstateX" "create a Lua state with custom allocatorX"
+.It Sy kernel API Ta Sy userland API Ta Sy Description
 .It Xr klua_lock 3 Ta lua_lock Ta lock a Lua state
 .It Xr klua_unlock 3 Ta lua_unlock Ta unlock a Lua state
 .It Xr klua_close 3 Ta lua_close Ta destroy a Lua state
-.It Xr klua_newstate 3 Ta lua_newstate Ta create a Lua state with cusom allocator
+.It Xr klua_newstate 3 Ta lua_newstate Ta create a Lua state with custom allocator
 .It Xr kluaL_newstate 3 Ta luaL_newstate Ta create a Lua state
 .El
 .Pp
@@ -126,9 +126,9 @@
 .Fn klua_newstate
 and
 .Fn kluaL_newstate
-functions are used to create and register new kernel Lua state.
+functions are used to create and register a new kernel Lua state.
 .Fn klua_newstate
-takes additional standard parameter of type
+takes an additional standard parameter of type
 .Fa f ,
 defined by the proper Lua release and an opaque pointer
 .Fa ud
@@ -149,7 +149,7 @@
 argument is used to define the type of
 .Xr mutex 9
 by the system interrupt priority level.
-.Sh RETURN FUNCTIONS
+.Sh RETURN VALUES
 The
 .Fn klua_lock ,
 .Fn klua_unlock ,



Home | Main Index | Thread Index | Old Index