s/NNbit/NN-bit/

This commit is contained in:
Michael Kerrisk 2007-06-25 09:55:58 +00:00
parent 5a5574b9b6
commit d4725a0e26
4 changed files with 12 additions and 13 deletions

View File

@ -42,13 +42,13 @@ to it.
Sub functions for x86-64 are:
.TP
.B ARCH_SET_FS
Set the 64bit base for the
Set the 64-bit base for the
.I FS
register to
.IR addr .
.TP
.B ARCH_GET_FS
Return the 64bit base value for the
Return the 64-bit base value for the
.I FS
register of the current thread in the
.I unsigned long
@ -57,13 +57,13 @@ pointed to by the
parameter
.TP
.B ARCH_SET_GS
Set the 64bit base for the
Set the 64-bit base for the
.I GS
register to
.IR addr .
.TP
.B ARCH_GET_GS
Return the 64bit base value for the
Return the 64-bit base value for the
.I GS
register of the current thread in the
.I unsigned long
@ -97,17 +97,16 @@ is a Linux/x86-64 extension and should not be used in programs intended
to be portable.
.SH NOTES
.BR arch_prctl ()
is only supported on Linux/x86-64 for 64bit programs currently.
is only supported on Linux/x86-64 for 64-bit programs currently.
The 64bit base changes when a new 32bit segment selector is loaded.
The 64-bit base changes when a new 32-bit segment selector is loaded.
.B ARCH_SET_GS
is disabled in some kernels.
Context switches for 64bit segment bases are rather expensive.
It may be a
faster alternative to set a 32bit base using a segment selector by setting up
an LDT with
Context switches for 64-bit segment bases are rather expensive.
It may be a faster alternative to set a 32-bit base using a
segment selector by setting up an LDT with
.BR modify_ldt (2)
or using the
.BR set_thread_area (2)

View File

@ -140,7 +140,7 @@ Put the mapping into the first 2GB of the process address space.
Ignored when
.B MAP_FIXED
is set.
This flag is currently only supported on x86-64 for 64bit programs.
This flag is currently only supported on x86-64 for 64-bit programs.
.TP
.B MAP_ANON
Synonym for

View File

@ -56,7 +56,7 @@ subtract the value returned from a call to
at the start of the program to get maximum portability.
.PP
Note that the time can wrap around.
On a 32bit system where
On a 32-bit system where
CLOCKS_PER_SEC equals 1000000 this function will return the same
value approximately every 72 minutes.
.PP

View File

@ -68,7 +68,7 @@ instead of
.IR <rpc/auth_des.h> .
.SH "BUGS"
.BR rtime ()
in glibc <= 2.2.5 does not work properly on 64bit machines.
in glibc <= 2.2.5 does not work properly on 64-bit machines.
.SH "EXAMPLE"
This example requires that port 37 is up and open.
You may check