aboutsummaryrefslogtreecommitdiff
path: root/man/luxinit.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/luxinit.3')
-rw-r--r--man/luxinit.314
1 files changed, 7 insertions, 7 deletions
diff --git a/man/luxinit.3 b/man/luxinit.3
index a16ecd1..62be99f 100644
--- a/man/luxinit.3
+++ b/man/luxinit.3
@@ -15,13 +15,13 @@
.\" OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 8 2022 $
+.Dd $Mdocdate: September 9 2022 $
.Dt LUXINIT 3
.Os
.Sh NAME
.Nm luxinit ,
.Nm luxfree
-.Nd initialize and destroy a luxdisp struct
+.Nd initialise and destroy a luxdisp struct
.Sh SYNOPSIS
.In lux.h
.Ft int
@@ -31,7 +31,7 @@
.Sh DESCRIPTION
The
.Fn luxinit
-function initializes the values of the
+function initialises the values of the
.Vt "struct luxdisp"
structure pointed to by
.Va disp .
@@ -40,7 +40,7 @@ Allocation of
is left up to the user.
All
.Vt "struct luxdisp"
-structures should be initialized with the
+structures should be initialised with the
.Fn luxinit
function before being used with any other library functions.
.Pp
@@ -54,13 +54,13 @@ structure pointed to by
.Va disp .
This function should be called for all
.Vt "struct luxdisp"
-structures that have been initialized by
+structures that have been initialised by
.Fn luxinit
after they are no longer required.
.Sh RETURN VALUES
The
.Fn luxinit
-function returns the file descriptior of the directory containing the backlight
+function returns the file descriptor of the directory containing the backlight
files located in
.Pa /sys/class/backlight
on success.
@@ -72,7 +72,7 @@ The
.Fn luxfree
function returns no value.
.Sh EXAMPLES
-The following program initializes a new
+The following program initialises a new
.Vt "struct luxdisp"
structure, uses it to set the display brightness to 100%, and then frees the
resources used by the structure.