]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/modify_ldt.2
sched_setattr.2: Minor tweaks to Claudio Scordino's patch
[thirdparty/man-pages.git] / man2 / modify_ldt.2
index f4cc3ad26db3128d688b6a55c1bc5922610a4ad5..0db6efea47ad9e417fb2badb8a2f71d6cfd3f3bb 100644 (file)
 .\" <http://www.gnu.org/licenses/>.
 .\" %%%LICENSE_END
 .\"
-.TH MODIFY_LDT 2 2016-10-08 "Linux" "Linux Programmer's Manual"
+.TH MODIFY_LDT 2 2017-09-15 "Linux" "Linux Programmer's Manual"
 .SH NAME
 modify_ldt \- get or set a per-process LDT entry
 .SH SYNOPSIS
 .nf
 .B #include <sys/types.h>
-.sp
+.PP
 .BI "int modify_ldt(int " func ", void *" ptr ", unsigned long " bytecount );
 .fi
 .PP
@@ -70,13 +70,13 @@ structure
 and
 .I bytecount
 must equal the size of this structure.
-
+.PP
 The
 .I user_desc
 structure is defined in \fI<asm/ldt.h>\fP as:
+.PP
 .in +4n
-.nf
-
+.EX
 struct user_desc {
     unsigned int  entry_number;
     unsigned long base_addr;
@@ -88,7 +88,7 @@ struct user_desc {
     unsigned int  seg_not_present:1;
     unsigned int  useable:1;
 };
-.fi
+.EE
 .in
 .PP
 In Linux 2.4 and earlier, this structure was named