summaryrefslogtreecommitdiff
path: root/lib/libarch/i386/i386_get_ldt.2
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-03-14 10:56:33 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-03-14 10:56:33 +0000
commitfeefc8787e3b2cf2450d557a00479046ba6e1202 (patch)
tree7c89de762efbe546845c39e51a948e38564a7dc1 /lib/libarch/i386/i386_get_ldt.2
parent67bc6a1b67a1590368a22dc7ec724a47ecee494d (diff)
document that the i386* functions have to be compiled with -li386;
from er, Charlie Root; Fixes PR 3114; ok tholo@
Diffstat (limited to 'lib/libarch/i386/i386_get_ldt.2')
-rw-r--r--lib/libarch/i386/i386_get_ldt.28
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libarch/i386/i386_get_ldt.2 b/lib/libarch/i386/i386_get_ldt.2
index 25b880d9ef0..5cbb61ccdff 100644
--- a/lib/libarch/i386/i386_get_ldt.2
+++ b/lib/libarch/i386/i386_get_ldt.2
@@ -68,6 +68,14 @@ can be either segment_descriptor or gate_descriptor, as defined in
.Ao Pa i386/segments.h Ac .
These structures are defined by the architecture
as disjoint bit-fields, so care must be taken in constructing them.
+.Pp
+.Sy Note:
+Code using the
+.Fn i386_get_ldt
+and
+.Fn i386_set_ldt
+functions must be compiled using
+.Cm -li386 .
.Sh RETURN VALUES
Upon successful completion,
.Fn i386_get_ldt