mdoc(7) police: "The .Fn system call".

This commit is contained in:
Ruslan Ermilov 2002-12-18 12:39:25 +00:00
parent 894fd2da78
commit a0ce78ec1d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108035
3 changed files with 18 additions and 0 deletions

View file

@ -40,7 +40,9 @@
.Ft int
.Fn i386_set_ioperm "unsigned int start" "unsigned int length" "int enable"
.Sh DESCRIPTION
The
.Fn i386_get_ioperm
system call
will return the permission for the process' I/O port space in the
.Fa *enable
argument. The port range starts at
@ -48,7 +50,9 @@ argument. The port range starts at
and the number of contiguous entries will be returned in
.Fa *length .
.Pp
The
.Fn i386_set_ioperm
system call
will set access to a range of I/O ports described by the
.Fa start
and
@ -59,9 +63,11 @@ argument.
.Sh RETURN VALUES
.Rv -std
.Sh ERRORS
The
.Fn i386_get_ioperm
and
.Fn i386_set_ioperm
system calls
will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL

View file

@ -49,10 +49,14 @@
.Ft int
.Fn i386_set_ldt "int start_sel" "union descriptor *descs" "int num_sels"
.Sh DESCRIPTION
The
.Fn i386_get_ldt
system call
will return the list of i386 descriptors that the process has in its
LDT.
The
.Fn i386_set_ldt
system call
will set a list of i386 descriptors for the current process in its
LDT.
Both routines accept a starting selector number
@ -77,16 +81,20 @@ in your kernel configuration file to use these functions.
Upon successful completion,
.Fn i386_get_ldt
returns the number of descriptors currently in the LDT.
The
.Fn i386_set_ldt
system call
returns the first selector set.
Otherwise, a value of -1 is returned and the global
variable
.Va errno
is set to indicate the error.
.Sh ERRORS
The
.Fn i386_get_ldt
and
.Fn i386_set_ldt
system calls
will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL

View file

@ -39,7 +39,9 @@
.Ft int
.Fn i386_vm86 "int function" "void *data"
.Sh DESCRIPTION
The
.Fn i386_vm86
system call
is used to call various vm86 related functions.
.Fa function
can be one of the following values:
@ -80,7 +82,9 @@ bit set. Control returns to the process upon delivery of a signal.
.Sh RETURN VALUES
.Rv -std i386_vm86
.Sh ERRORS
The
.Fn i386_vm86
system call
will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL